Lesson 11. HTML Basic Organization (master)

Source: Internet
Author: User

By observing we found that all the tags in the HTML basic structure are paired. These paired-up labels have one band/one without/, then these non-tagged tags we call the start tag, these bands/tags, which we call the end tag.

    • HTML tags

Role:

Used to tell the browser that this is a Web page, which means to tell the browser that this is an HTML document

Note the point:

All other tags must be written in the HTML tag, which is written in the middle of the HTML start tag and end tag.

    • Head tag

Role:

Used to add some configuration information to a Web site

For example:

    1. Specify the title of the page/small picture of the specified site
    2. Add SEO-related information about the site (specify keywords for the site/description of the specified site)
    3. Plug in some external css/js files
    4. Add some browsers to fit related content

Note the point:

In general, content written inside the head tag will not be displayed to the user, which means that the content written in the head tag is generally not visible to us.

    • Title Caption

Role:

Specifically used to specify the title of the site, and this specified title will also be the default title (Ctrl+d, saved default title) for the user to save the site in the future

Note the point:

Title must be written in the head tag

    • Body tag

Purpose: specifically for defining what needs to be displayed to the user in an HTML document (text/image/audio/video)

Note the point:

Although there are times when you may be able to write the contents of the site can be seen in the page, but do not do so, be sure to display the content to be written in the body. (Just like will you and dear xxx exchanged position)

Lesson 11. HTML Basic Organization (master)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.