当前位置:网站首页>【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>标签是容器,内部可以放任何其他标签。
边栏推荐
- HTTP缓存<强缓存与协商缓存>
- CVPR 2022 Oral 大连理工提出SCI:快速、超强的低光照图像增强方法
- Adjust CEPH cluster image source
- Can tonghuashun open an account? Can tonghuashun directly open the security of securities companies on the app
- Is it safe to open an account in flush
- 01 complexity
- js将数组中的0移动到末尾
- 232-CH579M学习开发-以太网例程-TCP服务器(项目应用封装,局域网或广域网测试)
- js判断回文数
- TypeScript类型声明文件(三)
猜你喜欢

CVPR 2022 Oral 大连理工提出SCI:快速、超强的低光照图像增强方法

GD32F4xx控制DGUS触控按键

Implementing reflexive ACL in Cisco packet tracker

Pytest automated testing framework (II)

C语言练习(4)——大数乘除

Introduction to service grid and istio - continued

基于Halcon的螺栓螺丝部分划痕、腐蚀缺陷检测

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

Why my order by create_ Time ASC becomes order by ASC

在思科模拟器Cisco Packet Tracer实现自反ACL
随机推荐
Enhanced version of unit test code displayed by SAP e-commerce cloud Spartacus UI checkout spinner
Pytest automated testing framework (II)
[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
Self made calculator (1 realized by Boolean logic operation unit and control unit programming)
标准库template学习入门原创
快速复制浏览器F12中的请求到Postman/或者生成相关语言的对应代码
基于Halcon的矩形卡片【手动绘制ROI】的自由测量
2022.6.12-----leetcode.890
A story on the cloud of the Centennial Olympic Games belonging to Alibaba cloud video cloud
Review of MySQL (I): go deep into MySQL
Virtual Lab Basic Experiment tutoriel - 4. Diffraction à fente unique
Write a select based concurrent server
GD32F4xx控制DGUS 变量显示
VirtualLab基礎實驗教程-4.單縫衍射
Partial scratch and corrosion detection of bolts and screws based on Halcon
VirtualLab基础实验教程-4.单缝衍射
"Big fat • small lesson" - talk about big file segmentation and breakpoint sequel
Can tonghuashun open an account? Can tonghuashun directly open the security of securities companies on the app
Free measurement of rectangular card [manual drawing ROI] Based on Halcon
即时配送的订单分配策略:从建模和优化-笔记