HTML Header Basic Tag

Source: Internet
Author: User
Tags end header html header set background

1.2.3.<body></body>
4.<title></title>

HTML is the abbreviation for English hypertext Markup Language, which means "Hypertext Markup Language", and the file (document) that is written with the extension is. html or. htm, which is a file format that browsers can interpret for browsing. You can use editing tools such as Notepad, WordPad, or FrontPage Editor to write HTML files. HTML language uses the method of flag pair to write a file, it is simple and convenient, it usually uses the < flag name ></flag name > to indicate the start and end of the sign (for example,

  1.

The

  2.

  3.<body></body>

<body></body> is the main part of an HTML document that can contain <p>, </p>,

Examples of property uses

<body bgcolor= "#rrggbb" > Set background color. <body bgcolor= "Red" > Red background
<body text= "#rrggbb" > Set text color. <body text= "#0000ff" > Blue text
<body link= "#rrggbb" > Set the link color. <body link= "Blue" > links to Blue
<body vlink= "#rrggbb" > set the color of the links you have used. <body vlink= "#ff0000" >
<body alink= "#rrggbb" > set the color of the link that is being hit. <body alink= "Yellow" >

Description: These properties can be used in combination, such as <body bgcolor= "Red" text= "#0000ff" >. The RRGGBB in quotation marks are RGB (that is, red, green, and blue three-color combinations) in six hexadecimal digits, such as the #ff0000 corresponding to red. In addition, you can use the constant name given in the HTML language to represent colors: black, white, Green, maroon, Olive, Navy, Purple, Gray, Yellow, Lime, Agua, Fuchsia, Silver, Red , Blue, and teal, such as <body text= "Blue" > indicates that the text in the <body></body> flag pair is displayed in the browser's box using blue.

  4.<title></title>

A person who has used a browser may notice the text information displayed in the top blue part of the browser window, which is generally the "subject" of the Web page, and it is very simple to display the theme of your Web page to the top of the browser, as long as the <title></title> Add the text you want to display between the label pairs. Note that the:<title></title> flag pair can only be placed between the



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.