The basic structure of 2.html __html

Source: Internet
Author: User
Tags set background

1

HTML document tags, also known as HTML start tags

Function: This pair of tags at the top and end of the page represents the beginning and ending of the page

2.

Explanation: The body tag of an HTML document

Function: Used to contain basic information about a file, such as the title of the page, keywords, in

Note that the contents of the:

3.<title></title>

Explanation: HTML file title tag

Features: Web page "Theme", displayed in the top left side of the browser window

Note: The page title can not be too long, to be short and concise, can specifically reflect the content of the page,<title></title> tags cannot contain other tags

4.<body></body>

Explanation: The body tag of an HTML document

Function: The main part of the Web page, which contains tags such as <p></p>

Body Tag Common Properties:

1 ' bgcolor: Set background color <body bgcolor= "Red" ></body>

2 ' text set text color <body text= "Green" ></body>

3.link set link color <body link= "Blue" ></body>

4.vlink has visited the link color <body vlink= "Yellow" ></body>

5.alink the link color being clicked <body alink= "Red" ></body>

5.<meta></meta>

Explanation: Meta information for Web pages (meta-information)

Features: Provides meta information about the page, such as descriptions and keywords for search engines and more frequently.

Required property content value Some_text Define meta information related to HTTP-EQUID or Name property

Common Properties:

1 ' Common Name property

1) Author 2) keywords 3 description 4) Others associating the content attribute to a name

For example, describe the keywords of the Web page: <meta name= "keywords" content= "I am a Test" >

Note: Meta tags, tourmaline, in the head element.

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.