HTML Ordered LIsts-for beginners
if you are required to put your items in a numbered list instead of bullet then HTML ordered list will be used. this list is created by using <ol> tag. the numbering starts at one and is incremented by one for each successive ordered list element tagged with <li>.
the type attribute;
you can use type attribute for <ol> tag to specify the type of numbering you like. by default it is a number.
example'
<!DOCTYPE html>
<html>
<head>
<title> HTML Ordered List</title>
</head>
<body>
<ol>
<li>SEO</li>
<li>HTML</li>
<li>AdSense</li>
<li>website</li>
<ol>
</body>
</html>
output
1. SEO
2. HTML
3. AdSense
4. website
prepared by IBRAHIM MCHUCHURI
the type attribute;
you can use type attribute for <ol> tag to specify the type of numbering you like. by default it is a number.
example'
<!DOCTYPE html>
<html>
<head>
<title> HTML Ordered List</title>
</head>
<body>
<ol>
<li>SEO</li>
<li>HTML</li>
<li>AdSense</li>
<li>website</li>
<ol>
</body>
</html>
output
1. SEO
2. HTML
3. AdSense
4. website
prepared by IBRAHIM MCHUCHURI
HTML Ordered LIsts-for beginners
Reviewed by Unknown
on
May 11, 2017
Rating:
No comments