Home > Article > Web Front-end > Introduction to HTML elements three - ul
[Introduction] Define a list of items that is not sorted. Draws lines of text as a bulleted list Note The TYPE tag attribute sets the type of all subsequent lists unless a different type value is set. The UL element inherits the height of the BODY's font attribute line-h
Represents an unsorted list of items.
Draws lines of text as a bulleted list.
The TYPE tag attribute sets the type of all subsequent lists, unless a different type value is set.
UL elements inherit line-height from the height of the BODY's font property. For example, if the font-size attribute of BODY is greater than the font-size attribute of the UL element, then the list items in the UL will be spaced according to the font-size spacing of BODY.
This element is available in HTML in Internet Explorer 3.0 and above, and in script in Internet Explorer 4.0 and above.
This element is a block element.
This element requires a closing tag.
<ul> <li>文学</li> <li>绘画</li> <li>音乐</li> </ul>
The above is the detailed content of Introduction to HTML elements three - ul. For more information, please follow other related articles on the PHP Chinese website!