HTML file HEAD internal tag

xiaoxiao2021-03-06  51

HTML file HEAD internal tag 2002-03-20 · · Fire gun hand ·· HTMLCN

1 2 Next Page

Today, use a variety of what you have come to work. The homepage is already very easy. But understand the HTML source code and grammar, undoubtedly have a greater help to our homepage, or use users to more accurately control the results of the page. The article describes the HTML syntax has been a lot, but in addition to the Title tag, there are several other tags in Head. Although these markers are not common, we need to have certain understandings.

First, Meta

The Meta tag is used to describe some document information that is not included in the standard HTML. A fierce competition enables browser manufacturers to develop many practical features in Meta, making these features in common browsers. Here are a few useful usage:

* This page is keyword and description. After adding these definitions in the page, some search engines can let readers find your homepage based on these keywords to understand your homepage.

* The browser will automatically turn to new.htm after 60 seconds. You can use this feature to make a cover, in a number After the time, the reader is automatically coming to your directory page. If the URL item is not, the browser is refreshing this page. This realizes the Trium-refreshing characteristics of the WWW chat room.

* Describe the language used in this page. According to this, you can choose the correct language code without the need to choose in the browser. GB2312 refers to Simplified Chinese, and the main page of Taiwan's BIG5 internal code is used with BIG5.

* Mandatory calling online latest version. In order to save time, the browser saves a temporary version of an online file on the local hard drive. When you want to recall, display the file on your hard disk directly, not online. If you want the reader to see the latest version every time, add this sentence.

Second, LINK

Displays the connection between this document and other documents. One of the most useful applications is the positioning of external laminated style sheets. The format is as follows:

The REL parameter illustrates the relationship between the two documents, and HREF illustrates the target document name.

For a laminated style sheet, please refer to other articles.

Third, Base

Base mainly has two types:

1, The original address of this document. In this way, after the reader downloads your document, you can also know where to download it.

转载请注明原文地址:https://www.9cbs.com/read-118104.html

New Post(0)