This article mainly introduces the detailed explanation of the usage of ol tags in HTML5, which is the basic knowledge in the introduction to HTML5. Friends who need it can refer to the definition and usage
The <ol> tag defines an ordered list.
Differences between HTML 4.01 and HTML 5
In HTML 4.01, the start attribute is deprecated and is allowed in HTML 5.
In HTML 4.01, the use of compact and type attributes is not favored, and in HTML 5, these two attributes are no longer supported.
Tips and comments
Tip: Please use CSS to define the type of the list.
example
XML/HTML Code Copy content to clipboard