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

MySQL 4G memory server configuration optimization

As the number of visits to the company's webs...

How to design the homepage of Tudou.com

<br />I have been working in front-end for s...

Detailed analysis of SQL execution steps

Detailed analysis of SQL execution steps Let'...

Eight hook functions in the Vue life cycle camera

Table of contents 1. beforeCreate and created fun...

A brief analysis of how MySQL implements transaction isolation

Table of contents 1. Introduction 2. RC and RR is...

Causes and solutions for slow MySQL query speed and poor performance

1. What affects database query speed? 1.1 Four fa...

How to cancel the background color of the a tag when it is clicked in H5

1. Cancel the blue color of the a tag when it is ...

DOM operation implementation in react

Table of contents Previous words Usage scenarios ...

MySQL 8.0.11 installation and configuration method graphic tutorial

The installation and configuration methods of MyS...

In-depth explanation of hidden fields, a new feature of MySQL 8.0

Preface MySQL version 8.0.23 adds a new feature: ...

Should I use Bootstrap or jQuery Mobile for mobile web wap

Solving the problem Bootstrap is a CSS framework ...

Vue3 Vue Event Handling Guide

Table of contents 1. Basic event handling 2. Send...

CSS implements six adaptive two-column layout methods

HTML structure <body> <div class="w...

JavaScript Basics Variables

Table of contents 1. Variable Overview 1.1 Storag...

Detailed explanation of MySQL date string timestamp conversion

The conversion between time, string and timestamp...