Home  >  Article  >  Web Front-end  >  html +CSS+div学习――第二课_html/css_WEB-ITnose

html +CSS+div学习――第二课_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:35:29898browse


一、HTML历史


(1)在HTML中,所有标记不区分大小写


(2)在xHTML中,所有标记区分大小写,所有标记都要有闭标记



二、HTML文档的结构(框架)


(1)所有的网页文件,通常由四对标记构成,文档的骨架是:


    

        

            

<p>            </p>

        

        

        

    


    ~~...:标识网页文件的开始和结束,所有HTML标记都要放在这对标记中

    ~~

...:标识网页文件的头部信息,如标题、搜索引擎关键字

    ~~

...:标识网页文件的标题

    ~~

...:标识网页文件的主体部分


(2)meta标

    ~~meta标记用于定义文件信息,对网页文件进行说明,便于搜索引擎查找。放置于

之间

    ~~设置关键字:,多个关键字之间用隔开

    ~~设置描述:

    ~~设置作者:

    ~~设置字符集:

    ~~璁剧疆椤甸

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn