HTML Study Notes

Source: Internet
Author: User
Tags html header

I. Header element

1. <tiitle> element

The viewer browses the webpage and becomes the file name of the saved webpage. The webpage title is a search keyword.

<Title> tomato and potato </titile>
 
 

2. <base> Elements

The <base> tag in a document can only have one tag. It is used to convert a relative URL to a complete absolute URL, which specifies the default address or default target for all links on the page.

<Base href = "URL" target = "WINDOW_NAME"/> for example, <base href = "www.baidu.com" target = "_ blank"/>

 

3. <link> Elements

Link used to create a CSS style sheet

<link rel="stylesheet" type="tezt/css" href="style.css"/>
 
 

 

4. <meta> Elements

The <meta> tag attribute is used to define the file information Name and content. The HTML header can contain any number of <meta> tags.

<Meta name = "a set value" content = "Additional Information for this set value"/> <meta http-equiv = "a set value" content = "pair for example, <meta name = "keywords" content = "mobile games"/> <meta name = "description" content = "Android forum "/> <meta name =" generator "content =" Discuz! X2.5 "/> <meta name =" author "content =" Discuz! Team and Comsenz UI Team "/> <meta name =" copyright "content =" 2001-2012 Comsenz Inc. "/> <meta name =" MSSmartTagsPreventParsing "content =" True "/> <meta http-equiv =" MSThemeCompatible "content =" Yes "/>
Note that the Keywords and Description attributes in <meta> are set. When you search for a search engine, you can search for the Keywords and Description on the page and add them to your own database.

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.