HTML使用方法汇总

1.支持HTML5

<!doctype html>

2.多国语言

<html lang="zh">
或者
<html lang="en">

3.头部

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>HTML5 canvas粒子</title>
	<link rel="stylesheet" type="text/css" href="css/normalize.css" />

4.盒子模型

<div> </div>
<span> </span>

5.超链接<a>

<a class="icon-home" href="#" title="鼠标放进去显示" target="_blank"><span> jQuery</span></a>

猜你喜欢

转载自blog.csdn.net/aganliang/article/details/87436186
今日推荐