<!DOCTYPE html>
<html>
<head>
<title>实验</title>
</head>
<body>
<h1><strong><em>段落&&超链接</em></strong></h1>
<h2>例子1</h2>
<p>我是一个快乐的小二笔</p>
<h2>例子2</h2>
<p>点击打开<a href="http://www.baidu.com">百度</a></p>
<h2>例子3</h2>
<p>点击打开<a href="http://www.baidu.com" target="_blank">百度</a></p>
<h2>例子4</h2>
<p><abbr title="This is a college">AHU</abbr> is a college</p>
<h1><strong><em>列号</em></strong></h1>
<h2>例子1</h2>
<ul>
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
</ul>
<h2>例子2</h2>
<ol>
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
</ol>
<h1>表格</h1>
<h2>例子1</h2>
<table>
<thead>
<tr>
<th>name</th>
<th>age</th>
<th>sex</th>
</tr>
</thead>
<tbody>
<tr>
<td>张三</td>
<td>18</td>
<td>男</td>
</tr>
<tr>
<td>李四</td>
<td>19</td>
<td>男</td>
</tr>
<tr>
<td>王五</td>
<td>100</td>
<td>女</td>
</tr>
</tbody>
</table>
<hr><br><br><hr>
<form action="form.js" method="POST">
<div>
<lable>name</lable>
<input type="text" name="name" placeholder="please enter your name">
</div>
<div>
<lable>age</lable>
<input type="number" name="age" placeholder="please enter your age">
</div>
<div>
<lable>sex</lable>
<input type="text" name="sex" placeholder="please enter your sex">
</div>
<input type="submit" name="submit" value="SUBMIT">
</form>
<br>
<button>This is a button</button>
<img src="https://cn.bing.com/images/search?view=detailV2&ccid=QdFOfYwJ&id=4F29FDD0087A66415DFB001C89CA5F9AA62B06F2&thid=OIP.QdFOfYwJRfQz6IY_z7jTqgHaG1&mediaurl=http%3a%2f%2fimg.ceeh.com.cn%2f2020%2f0927%2f20200927113447682.jpg&exph=886&expw=959&q=%e7%8e%8b%e5%86%b0%e5%86%b0&simid=608021650077322322&ck=890782A7BF99E998CD2C034F0F648519&selectedIndex=0&FORM=IRPRST&ajaxhist=0" alt="我老婆的照片无法显示">
<p>复制上方照片链接浏览器打开有<strong>惊喜</strong>哦(狗头)</p>
</body>
</html>
HTML 基础源代码
最新推荐文章于 2024-06-18 10:10:15 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)