zoukankan      html  css  js  c++  java
  • 认识html文件基本结构

    html文件的结构:一个HTML文件是有自己固定的结构的。

    <html>
        <head>...</head>
        <body>...</body>
    </html>

    代码讲解:

    1. <html></html>称为根标签,所有的网页标签都在<html></html>中。

    2. <head> 标签用于定义文档的头部,它是所有头部元素的容器。

        头部元素有<title><script>、 <style><link>、 <meta>等标签。

    3. 在<body></body>标签之间的内容是网页的主要内容,如<h1><p><a><img>等网页内容标签,

        在这里的标签中的内容会在浏览器中显示出来。

  • 相关阅读:
    MongoDB 查询$关键字 $in $or $all
    MongoDB limit 选取 skip跳过 sort排序 方法
    POJ 1700
    POJ 1666
    POJ 1701
    POJ 1674
    POJ 1664
    POJ 1665
    POJ 1658
    POJ 1656
  • 原文地址:https://www.cnblogs.com/Rinpe/p/5538756.html
Copyright © 2011-2022 走看看