HTML web page header code is fully clear_HTML/Xhtml_web page production

WBOY
Release: 2016-05-16 16:42:40
Original
1601 people have browsed it

All the following codes are between

.... The specific contents are:
1, ...
title elements to help users better identify files. There are and only one. Make the file name when used as homepage or collection.
2,
Shows the relationship between this document and other documents: and the connection to external style sheets.
rel describes the relationship between the html file and the url document, and href describes the document name.
3,
You can include style pages in your document. The internal styles of the document itself.
4,
Define absolute path URL for relative path. After readers download your document, they can also know where to download it.
URL format: Communication protocol: //Host name /path/filename
5,

is used to contain scripts (a series of commands written in a scripting language), which can be Javascript or VbScript. 6. Refresh and point to the new page 4. Realize the animation effect during web page conversion
5. Web page rating evaluation
6. Control page buffering
7. Control the window for web page display.
meta is used to simulate the response header message of the HTTP protocol in HTML documents.
Meta has two attributes: name and http-equiv.
The name attribute is mainly used to describe web pages, corresponding to content (web page content), so that search engine robots can find and classify them (at present, almost all search engines use online robots to automatically find meta values ​​to classify web pages). The most important of these are description (description of the site on search engines) and keywords (categorization keywords), so a meta value should be added to each page.


name attribute

1,
is used to describe the generation tool (such as Microsoft FrontPage 4.0), etc.;
2, describes your web page to search engines Keywords; 3.
Tell search engines the main content of your site; 4.
Tell search engines the author of your site; 5.
The attributes are described as follows:
is set to all: the files will be retrieved, and the links on the page can be queried; is set to none: the files will not be retrieved, and the links on the page will not be queried. Can be queried;
is set to index: the file will be retrieved; is set to follow: the links on the page can be queried;
is set to noindex: the file will not be retrieved, but the link on the page The links can be queried;
is set to nofollow: the file will not be retrieved, and the links on the page can be queried.


http-equiv attribute

1,
and
are used to describe the text and language used to create the homepage; another example is that English is ISO-8859-1 characters set, as well as BIG5, utf-8, shift-Jis, Euc, Koi8-2 and other character sets; 2, Timing allows the web page to jump to the page http within the specified time n seconds; // yourlink;
3. can be used to set the expiration time of the web page. Once it expires, it must be called again on the server. It should be noted that the GMT time format must be used; 4 and
are used to set the browser to prevent the browser from accessing the page content from the cache of the local machine. After setting, once you leave the web page, you cannot retrieve it from the Cache. Exit; 5.
Cookie settings, if the web page expires, the saved cookies will be deleted. It should be noted that the GMT time format must be used; 6.
For web page rating, there is a content setting in IE's internet options that can prevent browsing of some restricted websites, and the restriction level of the website is through meta Properties are set; 7,
forces the page to be displayed as an independent page in the current window, which can prevent your own web page from being called as a frame page by others; 8,
and Set special effects when entering and leaving the page. This function is the "format/webpage transition" in FrontPage, but the added page cannot be a frame page.
The value of Duration is the time for dynamic transition of the web page, in seconds.
Transition is the transition method, its value is 0 to 23, corresponding to 24 transition methods. As shown in the table below: 0 Box-shaped contraction 1 Box-shaped radiation 2 Circular contraction 3 Circular radiation
4 From bottom to top 5 From top to bottom
6 From left to right 7 From right to Left
8 vertical blinds 9 horizontal blinds
10 Horizontal lattice shutters 11 Vertical lattice shutters
12 Dissolve at will 13 Expand from the left and right ends to the middle
14 Expand from the middle to the left and right ends 15 Expand from the top and bottom ends to the middle
16 Up from the middle Expand the lower two ends 17 Expand from the upper right corner to the lower left corner
18 Expand from the lower right corner to the upper left corner 19 Expand from the upper left corner to the lower right corner
20 Expand from the lower left corner to the upper right corner 21 Expand horizontally linearly
22 Vertical linear expansion 23 randomly generates a transition method
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!