Application nesting of HTML ul unordered tables

Application nesting of HTML ul unordered tables
Application nesting of unordered lists

Copy code
The code is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Unordered table application</title>
</head>
<body>
<h1>
<strong>
Chinese provinces and cities
</strong>
</h1>
<hr />
<ul>
<li> Shandong
<ul>
<li> Weifang </li>
<li> Jinan </li>
<li> Yantai </li>
</ul>
</li>
<li> Guangdong
<ul>
<li> Guangzhou</li>
<li> Shenzhen</li>
<li> Dongguan</li>
</ul>
</li>
<li> Jiangsu</li>
<ul>
<li> Nanjing</li>
<li> Suzhou</li>
<li> Wuxi </li>
</ul>
</li>
</ul>
<hr />
</body>
</html>

Effect:

Chinese provinces and cities

<<:  What are the ways to import CSS? What is the difference between link and @import? How to choose

>>:  The difference and usage of single-line and double-line layout in Flex mobile layout

Recommend

Specific example of MySQL multi-table query

1. Use the SELECT clause to query multiple tables...

Installation steps of mysql under linux

1. Download the mysql tar file: https://dev.mysql...

JavaScript source code for Elimination

JavaScript to achieve the source code download ad...

How to print highlighted code in nodejs console

Preface When the code runs and an error occurs, w...

A brief discussion on the principle of React two-way data binding

Table of contents What is two-way data binding Im...

XHTML introductory tutorial: Application of table tags

<br />Table is an awkward tag in XHTML, so y...

A brief talk about Rx responsive programming

Table of contents 1. Observable 2. Higher-order f...

DIV background semi-transparent text non-translucent style

DIV background is semi-transparent, but the words ...

js implements axios limit request queue

Table of contents The background is: What will ha...

js+Html to realize table editable operation

This article shares the specific code of js+Html ...

The process of deploying and running countly-server in docker in win10

I have just come into contact with and become fam...

Example of downloading files with vue+django

Table of contents 1. Overview 2. Django Project 3...

SQL implementation of LeetCode (183. Customers who have never placed an order)

[LeetCode] 183.Customers Who Never Order Suppose ...

Example of how to embed H5 in WeChat applet webView

Preface WeChat Mini Programs provide new open cap...

How to Customize Bash Command Prompt in Linux

Preface As we all know, bash (the B ourne-A gain ...