Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

How do I create a list on a web page?

Date:2016-12-11 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

For example, there is a hardworking village that produces high-quality winter melons, watermelons and pumpkins all the year round. So the village head organized the villagers to publish these information on the Internet to sell these products. The following is the content released by three of the villagers.

Example Website production Code 1-2.

 Page List.htm


Open Notepad, enter the above code, and save the file named "List.htm" to the desktop. Double click "List.htm". The browser displays the result as shown in Figure 1.4.
 Page List

The display results have their own characteristics. The first villager is arranged according to numbers; the second villager is arranged according to dots; the third villager has an explanation, which is very special.

Code analysis:

The product arrangement of the three villagers is called numbered list, bulleted list and user-defined list. The labels appearing for the first time in the code are:
 
  • <h4>: Standard 4. (Similarly, h1 is title 1, h2 is title 2, h3 is title 3, etc.)
  • <o1>: numbered list or ordered list.
  • <ul>: unordered list (called bulleted list in Office Word).
  • <li>: The item to list.
  • <dl>. Custom list
  • <dt>: defines a list bullet or text.
  • <dd>: defines list items.

The above is to use HTML to make the browser follow the content of the instruction list. In the next section, the browser will display the image and create a link to the Internet gate.


Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.