<ul><li>列表</li></ul> ,为什么后面的代码不可以是</ul> </li>
phpcn_u224
phpcn_u224 2016-12-20 14:07:11
0
2
1072

如题

phpcn_u224
phpcn_u224

reply all(2)
数据分析师

<ul><li>List</li></ul>, why can’t the following code be </ul> </li>-PHP Chinese website Q&A-<ul>< li>List</li></ul>, why can’t the following code be </ul> </li>-PHP Chinese website Q&A

Take a look around and learn.

阿神

因为要开始标签和结束标签对应

<ul><li>111</ul></li>

这样就顺序乱了,浏览器识别不出。<ul></ul>是一个无序列表,<li></li>是列表中的内容。

列表内容需要在列表中表现。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!