HTML: Changing numbering for one item in the list

This entry is part 13 of 34 in the series HTML

You can use the value=’n’ attribute for an individual list item <li> if you want to change the numbering for one item only.

<!DOCTYPE html>
<head lang='en'>
    <meta charset='UTF-8'>

<h4>British Pop</h4>
<ol start='11'>
    <li>Cold Play</li>
    <li>Depeche Mode</li>
    <li value='21'>New Order</li>

Numbering For One Item
Series Navigation<< HTML: Specifying the start of a numbered list
HTML: Definition lists >>

Leave a comment

Leave a Reply