Dir tag in html
The <dir> tag is used to list directory titles.
makes the list elements to look smaller than normal
It is not supported in html5 so use css3 instead.
<!DOCTYPE html>
<html>
<body>
<dir>
<li>html</li>
<li>xhtml</li>
<li>css</li>
</dir>
<p>The dir element is not supported in HTML5. Use CSS instead.</p>
</body>
</html>
Output:
Comments
Post a Comment