<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>这是一个网页</title>
</head>
<body>
<h1><font color="red">这里是网页显示的内容</font></h1>
<a href="www.baidu.com">百度链接</a>
<table border="1" align="center" width="80%">
<tr>
<th>aa</th>
<td>bb</td>
<td>cc</td>
</tr>
<tr>
<td align="center">dd</td>
<td>ee</td>
<td>fff</td>
</tr>
<br>
<form>
username: <input type="text"><br>
password: <input type="password"><br>
hobby: running<input type="checkbox"> singing<input type="checkbox"> running<input type="checkbox"><br>
picture: <img src="https://www.baidu.com/img/bdlogo.png"><br>
sex: male<input type="radio" name="gender"> female<input type="radio" name="gender"><br>
study:<select>
<option>xiaoxue</option>
<option>chuzhong</option>
<option>gaozhong</option>
<option>daxue</option>
</select><br>
suggestion: <textarea>
</textarea><br>
upload: <input type="file"><br>
<input type="submit" value="submit button"><br>
<input type="reset" value="reset button"><br>
<input type="button" value="lalala, button" onclick="javascript: alert("hello~~~");">
</form>
</table>
</body>
</html>
一、HTML 语言
th表示的是表头,最上明一行,姓名,年龄,住址
二、 表单form
1. text---password---checkbox----radio--textarea--select--file---reset---button---submit
2. 换行<br>
3. checkbox是可以多选的。
4. radio是单选的,互斥的,但是要放在同一个组里面,才会达到互斥的效果。所以,可以去相同的名字。
5. reset是指把页面恢复到最初的样子.
6.  ----空格
一、HTML 语言
th表示的是表头,最上明一行,姓名,年龄,住址
二、 表单form
1. text—password—checkbox—-radio–textarea–select–file—reset—button—submit
2. 换行
3. checkbox是可以多选的。
4. radio是单选的,互斥的,但是要放在同一个组里面,才会达到互斥的效果。所以,可以去相同的名字。
5. reset是指把页面恢复到最初的样子.
6.  —-空格