字幕列表 影片播放 列印英文字幕 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.
B1 中級 HTML教程 - 12 - 列表 (HTML Tutorial - 12 - Lists) 17 5 Pan-Shy Gang 發佈於 2021 年 01 月 14 日 更多分享 分享 收藏 回報 影片單字