
HTML
2023年9月22日小于 1 分钟
HTML
HTML标签
文本输入框
<input type="text" value = "第一个输入框"/>选择框
<input type = "checkbox"/>单选/复选按钮
<input type = "radio"/>按钮
<input type = "button"/>文件上传
<input type = “file">密码输入
<input type = “password">下拉框
<select>\<option>选择</option></select>超链接
\<a href = https://czlifetime.eu.org>活在当下的主页</a>表格
<table> \<tr>\<td>1</td>\<td>2</td></tr> \<tr>\<td>3</td>\<td>4</td></tr> \<tr>\<td>5</td>\<td>6</td></tr> </table>图片
\<img src = “…">文本域
<textarea rows = “3" cols = “red"></textarea>加粗
<b></b>换行
<br>段落
<p>This is a paragraph.</p> <p>This is another paragraph.</p>注释
<!-- 这里是注释-->框架
<iframe> src = “https://czlifetime.eu.org” width = “200” height = “200”></it=frame>div 元素
<body> <div class = “head"> 元素信息 </div> </body>