HTML webpage list tagging tutorial

Source: Internet
Author: User

HTML webpage list markup learning tutorial.
On the html page, the list can be used for outline writing. The list can be divided into two types: Ordered list and unordered list. The former uses project symbols to mark unordered projects, while the latter uses numbers to record the order of projects.

An ordered list refers to a list of items in the order of numbers or letters.
Disorder refers to a list of items starting with ●, ○, or □with no order.
The main mark of the list is as follows:

 

Tag description
<Ul> unordered list
<Ol> ordered list
<Dir> directory list
<Dl> definition list
<Menu> menu list
<Dt> and <dd> define the tag of the list
<Li> mark a list item


Ordered list tag <OL>
The sorted list uses numbers instead of project symbols to orchestrate the project. The items in the list start with a number or an English letter. Generally, projects are sequential. In a sequence table, the <ol> and <li> tags, and the type and start attributes are used.

Basic syntax
<Ol>
<Li> Project 1
<Li> Project 2
<Li> Project 3
......
</Ol>
Syntax explanation
In a sequence table, use <ol> as an ordered statement and <li> as the start point of each project.


Example: 7-1.htm
Use the <ol> and <li> tags to create an ordered list.
01 <! -- ------------------------------ -->
02 <! -- File example: 7-1.htm -->
03 <! -- File description: Create an ordered list -->
04 <! -- ------------------------------ -->
05 06 07 <title> Create an ordered list </title>
08 09 <body>
10 11 <ol>
12 <li> Photoshop
13 <li> Illustrator
14 <li> Freehand
15 <li> CorelDraw
16 </ol>
17 </body>
18

 

 

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.