CSS: Applying style to individual tag

This entry is part 2 of 26 in the series Basic CSS

In an earlier HTML example on lists, we have used the style = attribute for ordered and unordered lists.

For example, we have used a square bullet character in an unordered list.

<ul style='list-style-type: square'>
<!DOCTYPE html>
<head lang='en'>
    <meta charset='UTF-8'>

<h4>American Rock</h4>
<ul style='list-style-type: square'>
    <li>Linkin Park</li>


Series Navigation<< CSS: Introduction
CSS: Applying global style rule to all similar <ul> tags >>

Leave a comment

Leave a Reply