Home  >  Article  >  Web Front-end  >  Detailed explanation of the new attributes start and reversed of the ol tag in HTML5

Detailed explanation of the new attributes start and reversed of the ol tag in HTML5

黄舟
黄舟Original
2017-06-30 14:12:362289browse

Normal ol

  1. html
  2. css
  3. html5
  4. css3
  5. jquery

Display the results:

Use the start attribute

  1. html
  2. css
  3. html5
  4. css3
  5. jquery

Display the results:

#As you can see, start can change the starting number of the ordered list!

Use the reversed attribute

  1. html
  2. css
  3. html5
  4. css3
  5. jquery

Display the results:

As you can see, reversed makes it sort in reverse order.

The above is the detailed content of Detailed explanation of the new attributes start and reversed of the ol tag in HTML5. 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