慕移动0840011
2017-02-28 13:27
网页的开头代码和结尾代码怎么写
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--使用XHTML1.0版本-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>/!--标题 即网页标签显示的内容--/</title>
<style type="text/css">
/*CSS样式*/
</style>
</head>
<body>
<!--浏览器显示的内容-->
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">/--!使用XHTML1.0版本--/
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
</style>
</head>
<body>
</body>
</html>
<!doctpye html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<tittle>标题</tittle>
</head>
<body>
内容
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--这里放标题等信息-->
</head>
<body>
<!--这里是主题部分-->
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equil="content-type" content="text/html";charset=uft-8>
<title></title>
</head>
<body>
</body>
</html>
<!doctpye html>
<html>
<head>
<meat charset="utf-8"/>
<meat http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<tittle>china</tittle>
<meat name="keywords" content="good"/>
<meta name="description" cintent="这是一个关于,什么的网站。"/>
<meat http-equiv="refresh" content="3;url=abc.html"/>
<link href="css/main.css" type="text/css" rel="stylesheet">
<style type="text/css"></style>
<body>
<script src="js/a.js" type="text/javascript"></script>
</body>
</head>
</html>
开头
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
结尾
</body>
</html>
初识HTML(5)+CSS(3)-升级版
1225308 学习 · 18230 问题
相似问题