Clear HTML webpage header code _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Tags microsoft frontpage
Full contact with the webpage header attributes. For more information, see the head label description. All of the following code is in..., The specific content is:
1, ...
The title element helps you better identify one file. Name of a file when it is used as a homepage or favorites.
2, ...
Show the relationship between this document and other documents: Connect to the external style sheet.
Rel describes the relationship between html files and URLs. href describes the document name.
3,
You can include the style page in the document. The internal style of the document.
4, ...
Define an absolute path url for the relative path. After you download your document, you can also find
Url format: Communication Protocol: // host name/path/file name
5. script... Script
It is used to include scripts (commands written in a series of script languages). It can be Javascript or VbScript.
6, ...
Common Features of meta Tags:
1. Help the home page to be logged on by various search engines
2. Define the language of the page
3. Automatically refresh and refer to the new page
4. Implement the animation effect during webpage Conversion
5. webpage Rating Evaluation
6. Control page Buffering
7. Control the webpage display window.
Meta is used to simulate HTTP Response Header packets in HTML documents.
Meta has two attributes: name and http-equiv.
The name attribute is mainly used to describe a webpage, corresponding to content (webpage content ), this allows search engines to search for and classify robots. (currently, almost all search engines use online robots to automatically search for meta values to classify webpages ). The most important of these are description and keywords. Therefore, you should add a meta value to each page.

Name attribute
1, Used to describe the generation tool (such as Microsoft FrontPage 4.0;
2, Describe keywords Of Your webpage to search engines;
3, Tell the search engine the main content of your site;
4, Tell the search engine the creator of your site;
5,
The attributes are described as follows:
Set to all: the file will be retrieved, and the link on the page can be queried;
Set to none: files will not be retrieved, and links on the page cannot be queried;
Set to index: the file will be retrieved;
Set to follow: links on the page can be queried;
Set to noindex: the file will not be retrieved, but the link on the page can be queried;
Set to nofollow: files will not be retrieved, and links on the page can be queried.

Http-equiv attributes
1, And It is used to describe the text and language used by the homepage production; for example, English is the ISO-8859-1 character set, and BIG5, UTF-8, shift-Jis, Euc, Koi8-2 Character Set;
2, Regularly redirect a webpage to http within the specified time (n seconds); // yourlink;
3, It can be used to set the expiration time of a webpage. Once it expires, it must be re-called on the server. Note that the GMT time format must be used;
4, It is used to disable the browser from accessing the page content from the Cache of the Local Machine. Once the page is set, it cannot be called out from the Cache;
5, Cookie setting. If the webpage expires, the cookie on the disk will be deleted. Note that the GMT time format must be used;
6, Webpage rating: There is a content setting in the internet option of IE, which can prevent browsing of some restricted websites. The website's restricted level is set through the meta attribute;
7, Force the page to be displayed on an independent page in the current window to prevent its webpage from being called as a frame page;
8, And Set the special effect when you enter and exit the page. This function is called "format/Webpage transition" in the FrontPage. However, the added page cannot be a frame page.

The Duration value is the dynamic transition time of the webpage, in seconds.
Transition is a transitional mode. Its value ranges from 0 to 23, corresponding to 24 Transition modes respectively. See the following table:
0-box contraction 1-box radiation
2 circular contraction 3 circular radiation
4 From bottom up 5 from top down
6 from left to right 7 from right to left
8 vertical blinds 9 horizontal blinds
10 horizontal blinds 11 vertical blinds
12 dissolve at will 13 expand from left and right ends to the middle
14 expand from the center to the left and right sides 15 expand from the up and down ends to the middle
16. expand from the middle to the bottom. 17. expand from the top right to the bottom left.
18 expand from bottom right to top left 19 from top left to bottom right
20. Expand the 21 horizontal lines from the lower left corner to the upper right corner.
22 vertical linear expansion 23 random generation of a transitional mode

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.