Copy code The code is as follows:<!-- List tag: <dl>: hierarchical list subtag: <dt>: upper list item <dd>: lower level list item ------------ Unordered list tag: <ul> Subtag: <li> ------------ Unordered list tag: <ol> Subtag: <li> --!> <html> <head> <title> List tag practice</title> </head> <body> <dl> <dt>label</dt> <dd>1</dd> <dd>2</dd> <dd>3</dd> </dl> <hr> <ul type="disc"> <li>Apple</li> <li>Banana</li> <li>Orange</li> </ul> <hr> <ol type="1"> <li>Apple</li> <li>Banana</li> <li>Orange</li> </ol> <hr><!--Practice nesting of tags--> <dl> <dt>Four Heavenly Kings</dt> <dd> <ol type="1"> <li>Jacky Cheung</li> <li>Andy Lau</li> <li>Aaron Kwok</li> <li>Dawn</li> </ol> </dd> </dl> </body> </html> |
<<: JS Easy to understand Function and Constructor
>>: Let's talk in detail about the direction of slow SQL optimization in MySQL
CSS style rule syntax style is the basic unit of ...
Preface With the crazy speculation of virtual cur...
HTML structure <body> <div class="w...
This article shares the specific code of js to re...
First, open the virtual machine Open xshell5 to c...
Table of contents 1. Mathematical functions 2. St...
Take zabbix's own WEB interface as an example...
The installation and configuration method of MySQ...
1. Introduction It has been supported since versi...
Table of contents 1. Choose the most appropriate ...
Writing XHTML demands a clean HTML syntax. Writing...
Use HTML to write a dynamic web clock. The code i...
Margin of parallel boxes (overlap of double margi...
Frequently asked questions When you are new to ea...
<br />According to foreign media reports, in...