![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
o0o0o0o0o0oo
这个作者很懒,什么都没留下…
展开
-
HTML name、id、class 的区别
HTML name、id、class 的区别 在一个页面中,有许多的控件(元素或标签)。为了更方便的操作这些标签,就需要给这些标签标识一个身份牌。 目录 name :指定标签的名称。 id :指定标签的唯一标识。 class :指定标签的类名。 1. name 指定标签的名称。 1.1 格式 <input type="text" name="username" /> 1.2 应用场景 ①form表单:name可作为转递给服务器表单列表的变量名;如上面的传到服务器的名称为:原创 2020-05-25 22:00:26 · 160 阅读 · 0 评论 -
HTML元素笔记
<ul>无序列表</ul> <ul type="square">形状为方块</ul> <ol>有序列表</ol> <ol type="A" start="5">用大写字母编排 从第五个开始</ol> <li>每一项</li> 例:(<ol>同理) <ul&g...原创 2020-03-06 16:52:31 · 82 阅读 · 0 评论