zoukankan      html  css  js  c++  java
  • HTML5文档的各个组成部分分类

    <!DOCTYPE html><!--声明文档结构类型-->
    <html lang="zh-cn"><!--声明文档文字区域-->
    <head><!--声明文档头部区域-->
        <meta charset="utf-8"><!--声明文档字符集-->
        <!--[if IE]><![endif]--><!--文档头部兼容IE-->
        <title></title><!--文档头部标题-->
        <meta name="description" content="描述性语言"><!--文档描述-->
        <meta name="author" content="作者"><!--文档作者-->
        <meta name="copyright" content="版权所有"><!--文档版权-->
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"><!--对于不同接口声明-->
        <link rel="shortcut icon" href="favicon.ico"><!--文档头部兼容性写法-->
        <link rel="apple-touch-icon" href="custom_icon.png"><!--apple设备上的图标引用-->
        <link rel="stylesheet" type="text/css" href="css.css"><!--文档样式的外部引用-->
        <!--[if IE]><link rel="stylesheet" type="text/css" href="css.css"><![endif]--><!--兼容IE的外部引用样式-->
        <script src="js.js" type="application/javascript"></script><!--文档引用外部脚本-->
        <!--[if IE]><script src="js.js" type="application/javascript"></script><![endif]--><!--兼容IE的外部引用脚本-->
    </head>
    <body>
        <header>文档头部区域</header>
        <nav>文档导航</nav>
        <section>HTML5文档的主要内容区域
            <aside>HTML5文档的主要内容区域的侧边导航或菜单区域</aside>
            <article>HTML5文档的主要内容区域的内容区
                <section>内部的一个section嵌套区域
                    <aside></aside>
                    <article></article>
                </section>
            </article>
        </section>
        <footer>HTML5文档的脚部区域</footer>
    </body>
    </html>
  • 相关阅读:
    ExceptionExtensions
    implicit operator
    javascript Demo
    KO Demo
    Model Binding
    Await Async Task
    STL查找序列中处于某一大小范围内的元素个数
    2017头条笔试题:二维点集中找出右上角没有点的点并按x坐标从小到大打印坐标
    VS2017新建windows控制台程序打印中文乱码问题
    【详解】Linux的文件描述符fd与文件指针FILE*互相转换
  • 原文地址:https://www.cnblogs.com/iwebkit/p/6944894.html
Copyright © 2011-2022 走看看