HTML Elements and Attributes that Control the Ordered, Unordered and Definition Lists on the Webpage

HTML Elements and Attributes that Control the Ordered, Unordered and Definition Lists on the Webpage
Below is a list of the most commonly used*** html element tags that control an ordered, unordered and definition list on the webpage.

Note: Some attributes listed below have been depreciated in favor of Cascading Style Sheets.

Elements for Ordered, Unordered and Definition Lists
ElementOpening TagAttributesClosing TagDescription
dd<dd> OptionalIdentifies the description in a definition list
dl<dl> </dl>Creats a definition list - a list of words and corresponding descriptions
dt<dt> OptionalIdentifies the term in a definition list
li<li> OptionalIdentifies an item for an ordered or unorderd list
ol<ol>type="?"
start="?"
</ol>Creates an ordered (numbered) list of items

type - sets style of numbering (1, a, A, i or I)
start - sets beginning number or letter
ul<ul>type="?"</ul>Creates an unordered (bulleted) list

type - sets bullet shape to circle, square or disc
***A complete list of html element tags can be found at the World Wide Web Consortium (W3C) website.
https://www.w3.org/TR/REC-html40/index/elements.html
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.






This site needs an editor - click to learn more!



RSS
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





Content copyright © 2023 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.