Home  >  Article  >  Web Front-end  >  How to use html dir tag

How to use html dir tag

藏色散人
藏色散人Original
2019-05-27 09:54:043167browse

html dir tag is used to define a directory list. In HTML4.01, the dir element is deprecated. In XHTML 1.0 Strict DTD, the dir element is not supported.

How to use html dir tag

#html How to use dir tag?

Function: Define directory list.

Note: In HTML 4.01, the dir element is deprecated. In XHTML 1.0 Strict DTD, the dir element is not supported.

Note: All major browsers support the

tag.

html dir tag example

<html>
<body>
<dir>
  <li>html</li>
  <li>xhtml</li>
  <li>css</li>
</dir>
</body>
</html>

Effect:

How to use html dir tag

The above is the detailed content of How to use html dir tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn