HTML标准文档格式

时间:2025-05-15 13:54:45

1、基本文档流标签:

<!DOCTYPE html>

<html>

    <head>

        <meta charset="UTF-8">

        <title>网页标题</title>

        <meta name="keywords" content="搜索网页的关键字">

        <meta name="description" content="网页的介绍">

        <link rel="stylesheet" type="text/css" href="css/">

        <script type="" src="js/jquery-2.1." charset="UTF-8"></script>

    </head>

    <body>

    </body>

</html>

 

2、常见的几种字符集编码格式:

UTF-8 :万国码(最常用)。

GB-2312 :国标码。

GBK :扩展的国标码。