HTML5 <ol> reversed Attribute is new attribute in HTML5.It specifies that the list order should be descending (9,8,7...), instead of ascending (1, 2, 3...).
HTML5 also contains start attribute.If you specify start="50" then the listing items will starting with 50.
Please share your comments and feedback.Thanks.Please subscribe my updates via email.
Syntax
Simple Example
<ol reversed>
<li>Java</li>
<li>HTML5</li>
<li>PHP</li>
<li>CSS3</li>
<li>Joomla</li>
<li>Wordpress</li>
<li>Magento</li>
<li>Opencart</li>
<li>Core Commerce</li>
<li>Ruby</li>
</ol>
<li>Java</li>
<li>HTML5</li>
<li>PHP</li>
<li>CSS3</li>
<li>Joomla</li>
<li>Wordpress</li>
<li>Magento</li>
<li>Opencart</li>
<li>Core Commerce</li>
<li>Ruby</li>
</ol>
HTML5 reversed Attribute
<ol reversed="reversed" start="50">
<li>Java</li>
<li>HTML5</li>
<li>PHP</li>
<li>CSS3</li>
<li>Joomla</li>
</ol>
<li>Java</li>
<li>HTML5</li>
<li>PHP</li>
<li>CSS3</li>
<li>Joomla</li>
</ol>
Good Work (www.mybuddychats.com)
ReplyDelete