Blogger Information
Blog 15
fans 0
comment 0
visits 10424
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
HTML中的常用标签总结及类选择器的使用示例-2019年1月15号
超超的博客
Original
736 people have browsed it

<html></html> 根标签

<head></head>头标签:<meta>(可以设置字符charset=utf-8),<title></title>标题,<link>,<javascript>

<body></body>:

<h1></h1>,<h2></h2>,<h3></h3>

<img>图片标签

<div></div>

<p></p>段落标签

<strong></strong>文本加粗标签

<em></em>文本斜体标签

<hr>分割线

<ul><li></li></ul>无序列表

<ol><li></li></ol>有序列表

<dl><dt></dt><dd></dd></dl>定义列表,常用作友情链接。

<table></table>表格:

<caption></caption>常用作表格标题

<thread><tr><th></th></tr></thread>表头

<td></td>单元格

<form></form>表单标签:

<label></label>label标签的for属性可与input的id绑定,使焦点关联。

<input type="text">文本框

<textarea></textarea>文本域

<button></button>按钮标签

<select></select>下拉列表:<option></option>

<input type="radio">单选框

<input type="checkbox">复选框,添加checked为默认选项

<video src="" controls="controls"></video>,视频标签,controls播放控件


css选择器

对于class,对应的选择器是.class{}

对于id,对应的选择器是#id{}

对于标签,对应的是本身,例如,h3,选择器就是h3{}

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!