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