- 新建html文件
- 右下角“纯文本”切换为“html”,输入“!”,按Tab键,模板自动生成。
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
- <a>
- <img>
- src, alt, height, width(100~2.3cm)
- usemap
- <map>
- <area>
- href, alt, target
- shape (default, rect, circle, poly)
- coords
<img src="https://ww1.sinaimg.cn/mw1024/785731a4gw1et086nk68hj20km0uoakx.jpg" alt="" usemap="#bgmap">
<map name="bgmap">
<area shape="rect" coords="200,0,600,500" href="https://wx2.sinaimg.cn/mw690/785731a4gy1fnjusmm1tej20mz0whakh.jpg" target="_blank">
<area shape="circle" coords="300,550,50" href="https://wx1.sinaimg.cn/mw690/785731a4gy1fh99gpajp4j20mz0whqcw.jpg" target="_blank">
</map>
用于标注某些部分
- <article>
- <address>
- <aside>
用于设置文字样式,排版(标题,段落等)
- <h1>-<h6>
- <p>
- <blockquote>
- <b>
- <br/>