Three List of knowledge detailed

Source: Internet
Author: User

JAVAWEB-UL,OL,DL Label

HTML tags-unordered list:

An unordered list is a list of items that are marked with a bold dot (typically a small black circle).

The unordered list starts with the <ul> tag;

Each list item starts with <li> (paragraphs, line breaks, pictures, links, and other lists can be used inside a list item).

Specific examples:

< ul >     < Li > list items 1</li>     <li> list Items 2 </ Li > </ ul >

HTML tags-ordered list: As with unordered lists, a list item is a column of items, and lists items are marked with numbers. The sequence list starts with the <ol> tag;
Each list item starts with a <li> label (paragraphs, line breaks, pictures, links, and other lists can be used inside a list item).
< ol >     < Li > ordered list items 1</li>     <li> There are sequence table entries 2</li></ol>

HTML tags-definition list:

A custom list is not just a column of items, but a combination of items and their annotations.

Custom lists start with <dl> tags;

Each custom list item starts with <dt>;

The definition of each custom list item starts with <dd>.

(Paragraphs, line breaks, pictures, links, and other lists can be used inside list items that define lists)

<DL>    <DT>customizing list items 1</DT>    <DD>Definition of a list item 1</DD>    <DT>customizing list Items 2</DT>    <DD>Definition of a list item 2</DD></DL>

HTML tags-list label app

<1> different types of unordered lists: type= "disc/circle/square" bulleted list;

<2> ordered list of different types: type= "default number/capital letter/Small Letter A/capital Roman letter i/Lowercase Roman letter I" list;

<3> nested list: ul Li (in the embedded set UL li);

<4> 2 level nested list: UL Li (in nested UL li< in nested ul li>);

<5> definition list;

Three List of knowledge detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.