当前位置:网站首页>【0008】无序列表
【0008】无序列表
2022-06-12 18:34:00 【51CTO】
HTML5中提供了三种列表:

无序列表是"没有刻意顺序"的列表。
<ul>标签和<li>标签
无序列表使用<ul\></ul\>标签,每个列表项都是<li\></li\>标签。
ul是unordered list(无序列表)的缩写,li是list item(列表项)的缩写。

无序列表是一个父子组合标签 ,上阵父子兵,不能单独出现。

当HTML标签形成嵌套,必须注意代码的缩进(TAB键)。

<li>不能单独使用
<li>标签不能单独使用,它必须放到<ul>或者<ol>标签中使用 。
<ul>的子标签只能是<li>
HTML规定,<ul>的子标签只能是<li>,绝对不能出现其它的任何标签。
<li>可以放任何标签
<li>标签是容器,内部可以放任何其他标签。
边栏推荐
- Adjust CEPH cluster image source
- General differences between SQL server versions released by Microsoft in different periods so far, for reference
- Stack in JS (including leetcode examples) < continuous update ~>
- [Huawei cloud stack] [shelf presence] issue 10: difficulties and solutions of it monitoring and diagnosis in the cloud scenario of government enterprise hybrid in the cloud native Era
- 2022.6.12-----leetcode.890
- What is SAP support package stack
- JS moves the 0 in the array to the end
- 2022.6.12 - leetcode. 89.
- Gd32f4xx controls dgus touch keys
- MYSQL:Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column
猜你喜欢

Review of MySQL (I): go deep into MySQL

MYSQL:Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column

快速复制浏览器F12中的请求到Postman/或者生成相关语言的对应代码

GD32F4xx控制DGUS 变量显示

VirtualLab基礎實驗教程-4.單縫衍射

VirtualLab基础实验教程-4.单缝衍射

Virtual Lab Basic Experiment tutoriel - 4. Diffraction à fente unique

C language practice (4) -- multiplication and division of large numbers

PHP:Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocat

Eve-ng installation (network device simulator)
随机推荐
Gd32f4xx controls dgus touch keys
Remote gadget putty (Alibaba cloud mirror station address sharing)
VirtualLab basic experiment tutorial -4 Single slit diffraction
"Big fat • small lesson" - talk about big file segmentation and breakpoint sequel
Machine learning series (3): logistic regression
VirtualLab基础实验教程-6.闪耀光栅
CEPH deploy offline deployment of CEPH cluster and error reporting FAQ
PHP:Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocat
Changes in the third generation dri
Can tonghuashun open an account? Can tonghuashun directly open the security of securities companies on the app
HTTP缓存<强缓存与协商缓存>
Gospel of audio and video developers, rapid integration of AI dubbing capability
C language operation database (SQLite3) call interface function
Extracting strings with grep awk
Typescript type declaration file (III)
A story on the cloud of the Centennial Olympic Games belonging to Alibaba cloud video cloud
HTTP cache < strong cache and negotiation cache >
深圳3月14日起全市停工停业7天居家办公心得|社区征文
VirtualLab基礎實驗教程-4.單縫衍射
Review of MySQL (4): sorting operation