- 注释
``
- 根标签
<html></html>
- 头部标签
<head></head>
- 编码标签
<meta charset = @"UTF-8">
- 标题标签
<title>第一个程序</title>
- 身体标签
<body>哈哈哈哈</body>
- 段落标签(段落之间会有行距)
<p>哈哈哈hahhahahahahha哈</p>
- 输入框
普通输入框:<input>
占位文字:<input placeholder="请输入用户名">
设置值:<int value="张三">
颜色面板:<input type="color">
多选:<input type="checkbox">
日子面板:<input type="date">
进度条:<input type="range">
- 换行标签
<br>
- 超链接
<a href="http://baidu.com" target="_blank">百度一下,你就知道</a>
- 图像标签(#号表示没有图片占位图)


- 列表标签
<ul>
<li>111111</li>
<li>22222</li>
<li>33333</li>
<li>44444</li>
</ur>
- 容器标签(没有任何修饰,显示最原始内容)
<div></div>
本文标题:常见的html标签
本文链接:https://www.haomeiwen.com/subject/grdsbttx.html
网友评论