Introduction to HTML elements three - ul

巴扎黑
Release: 2017-03-19 17:50:15
Original
1514 people have browsed it

[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

Definition

Represents an unsorted list of items.

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.

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.

Sample code

<ul>
  <li>文学</li>
  <li>绘画</li>
  <li>音乐</li>
</ul>
Copy after login

               

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!