<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>html标签3</title>
<style media="screen">
textarea {
width: 300px;
height: 100px;
}
fieldset {
width: 300px;
height: 100px;
}
</style>
</head>
<body>
<form method="get" action="http://www.cnblogs.com/fish-li/archive/2011/07/17/2108884.html" >
<input type="text" name="text" value="hello" readonly>
<br>
<input type="passwd" name="password" value="1">
<br>
<input type="radio" name="radio1" readonly>
<input type="radio" name="radio2">
<input type="radio" name="radio3" disabled>
<br>
<input type="checkbox" name="checkbox1" value="on">
<input type="checkbox" name="checkbox2" value="" checked>
<input type="checkbox" name="checkbox3" value="">
<br>
<input type="submit" name="submit" value="提交">
<input type="reset" name="reset" value="重置">
<br>
<input type="button" name="button" value="按钮">
<br>
<input type="image" name="image" src="./1.png">
<input type="hidden" name="hidden">
<br>
<input type="file" name="file" value="">
<br>
<textarea name="text" rows="1" cols="1">
这是文本区域,rows代表行数,cols代表列数,但如果设置了宽高,这两个值就不起作用了
(上面的style标签中设置了宽高)
</textarea>
<br>
<select name="select" size="2" multiple>
<option>春</option>
<option>夏</option>
<option>秋</option>
<option>冬</option>
</select>
<select name="select">
<option>春</option>
<option>夏</option>
<option selected>秋</option>
<option>冬</option>
</select>
<fieldset>
<legend>这是区标题</legend>
这是区内的内容
</fieldset>
</form>
</body>
</html>