Placeholder Image

字幕列表 影片播放

  • HTML offer three types of lists: ordered, unordered, and definition.

  • The ordered, or numbered list, <ol> uses the list item element <li> to specify each item.

  • The end tag for this element is optional. The numerals for the ordered list can be changed

  • using the type attribute. Arabic numbers are used by default but we can also set the type

  • to for example lower or uppercase letters or roman numerals.

  • The start attribute sets the beginning value for the list.

  • And the value attribute can be used to set the value for a specific list item.

  • The unordered, or bulleted list, <ul> also uses the list item element as with the ordered

  • list. It's default marker is a disc, which it can

  • be changed to either a circle or a square using the type attribute.

  • Lastly, we have the definition, or description list, <dl> which consists of a series of definition

  • terms <dt> paired with definition data <dd>.

  • Lists may also be nested and different list types can be used together with each other.

HTML offer three types of lists: ordered, unordered, and definition.

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

HTML教程 - 12 - 列表 (HTML Tutorial - 12 - Lists)

  • 17 5
    Pan-Shy Gang 發佈於 2021 年 01 月 14 日
影片單字