1、第一个html文件
<HTML>
<Head>
<title>小米商城</title>
</head>
<body>
<font size = '6' color = 'blue'>小米巨能写</font>
<hr />
<img src = "index.jpg" width = "300px">
<p>
标签组成部分:
标签名和 属性(属性与属性值之间使用‘=’连接, 属性值一般使用引号引起来)
<!-- -->
</p>
<body>
</HTML>
2、简易课程表
<html>
<head>
<title>课程表</title>
</head>
<body>
<H1>一级标题</h1>
<h3>三级标题</h3>
<h6>6级标题</h6>
<table border="1px" width="700px" height="250px" bordercolor="#00FFFF" cellspacing="0px">
<tr>
<td>时间/星期</td><td>星期一</td><td>星期一</td><td>星期一</td><td>星期一</td><td>星期一</td>
</tr>
<tr>
<td rowspan="2">上午</td><td>Java</td><td>HTML</td><td></td><td></td><td></td>
</tr>
<tr>
<td>SQL</td><td>体育</td><td></td><td></td><td></td>
</tr>
<tr>
<td colspan="6" align="center" valign="bottom">休息</td>
</tr>
<tr>
<td rowspan="2">下午</td><td>C++</td><td>JDBC</td><td></td><td></td><td></td>
</tr>
<tr>
<td>产品经理</td><td>数据结构</td><td></td><td></td><td></td>
</tr>
</table>
</body>
</html>
3、学生信息注册
<html>
<head>
<title>河南工业大学官网</title>
</head>
<body>
<h3>学生信息注册</h3>
<hr />
学生编号:<input type = "text"> <br/>
学生姓名:<input type = "text"> <br/>
密码:<input type = "password"> <br/>
性别:<input type = "radio" name = gender>男<input type = "radio" name = gender>女<br/>
专业:<select>
<option> 电子信息工程</option>
<option> 计算机科学与技术</option>
</select><br/>
爱好:<input type = "radio">唱 <input type = "radio">跳 <input type = "radio">rap <input type = "radio">篮球<br/>
自我介绍:<textarea rows = "5" cols = "50"> </textarea><br/>
<input type = "submit" value = "提交"> <input type = "reset" value = "重置">
</body>
<html>