表格 表单

<table border="没有标记border时看不到边框" bgcolor="表格背景颜色">

<tr>行

<td>列</td></tr>

<form method="get" action="http://www.sina.com" name="tj"><input type="submit" name="提交">点击提交按钮时可跳转</input></form>

重置<input type="reset" name="重置"></input>

<input type="text" name="yhm">用户名</input>

<input type="password" name="mima">密码</input>

<input id="sex0" type="radio" name="sex" value="0" checked="checked"><label for="sex0">单项选择以及默认以及手残患者专用</label></input>

<a>三种用法1.链接   2.下载   3.锚点

<h1>最大标题</h1><h6>最小标题</h6>

<p></p>段落

id:是唯一的    不能出现重复   一般不用数字符号开头

name:不是唯一的   可以多个

class:类   一类的放到一起

下拉框<select name="year"><option value="2011" selected="selected"默认值>2011</option><select>

<input id="h1" type="checkox" name="hobby" value="1"><label for="h1"></label></input>复选

<textarea name="b"></textarea>文本域

原文地址:https://www.cnblogs.com/hljj/p/6691643.html