Home  >  Article  >  Web Front-end  >  HTML5 2__ list tag

HTML5 2__ list tag

黄舟
黄舟Original
2017-02-18 14:08:451496browse

There are many basic tags in HTML5. Today we will introduce the list tag

List tag The list tag can arrange text elements in the form of a list in the web page. There are three types of list tags: ordered list, unordered list, Custom list

like:

  • 苹果

is called an unordered list, which is displayed as a, b, c, etc. in FireFox, and other browsers are displayed as dots;

  
  1. 西红柿
  2. 茄子

It is called an ordered list, displayed as 1, 2, 3, etc.;

73de882deff7a050a357292d0a1fca94Huec72c1af5e0e7f90179c047c5ef85885e

73de882deff7a050a357292d0a1fca94The appearance and name of hue

It’s called a custom table

Look at the code





演示列表标记

水果
  • 苹果
  1. 西红柿
  2. 茄子
色相
色相的相貌、名称

Running effect




## The above is the 2__ list tag of HTML5 For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!



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
Previous article:HTML5 programmingNext article:HTML5 programming