HEAD element DE

zhaozj2021-02-11  204

The HTML document consists of two parts: HEAD (the subject section, generally invisible) and body (the body part, visible in the browser). With the popularity of FrontPage and Dreamweaver (DW), etc., you don't understand HTML, you can also make a professional page is no longer a dream. However, these homepage production tools cannot generate a good topic section, this requires us to understand the elements of it. First, Head element meta records information of the current page, such as character encoding, author, copyright, keywords. It can also be used to provide information to the server, such as deadline, and page refresh intervals. Its basic usage is: telling the browser web page identified file type and language type; let search engine searches your page by keyword. Attribute specifies if the META tag contains Name (page description information) or HTTP Equiv (HTTP title information). "Value" specifies the type of information provided. Some values ​​are already defined, there are specialty attribute inspections in DW. For example, Description, Keyword (keyword), refresh, etc. You can also specify any other value, such as CreationDate, Document ID, and Level (level). CONTENT. If the level is specified for value (value), Content may be Beginner, Intermediate, Advanced. Title page title, displayed on the browser's title bar. Keywords Many popular search engines automatically read keywords content in the Meta tab and use this information to establish an index of the page in its database. Some search engines have a number of restrictions on keywords or characters when establishing an index. Some, ignore all keywords when the keyword is exceeded. Therefore, it is necessary to select the keyword for the webpage. Use a comma to separate the keywords in the domain of the mark keywords. Description has a similar function with Keywords. Just use the descriptive statement instead of the keyword. Some search engines have certain restrictions on the number of characters when establishing an index, so it should be simply simple. Refresh uses the refresh element to specify automatically refresh the page after a certain period of time. Action Specifies whether to go to other URLs or refresh the current page. To go to other URLs, click the Brower button to select the page you want to load. DELAY is a wait time in seconds before refreshing the page. To refresh the page immediately, you can enter 0 in this domain. Base uses the base element to set the basic URL. HREF Specifies the basic URL to type the path or selection directly. Target Specifies the window to open for all links. You can select a framework in the current frameset or select one of the four reserved windows it provides, default is _self. LINK uses the link element to define the relationship between the current document and other files (such as CSS files). ID specifies the unique identifier of a link. Title Description Links. This property is very suitable for link style sheets. REL specifies the relationship between the document in the current document and the HREF domain. Its possible values ​​include: Alternate, Stylesheet, Start, Next), Prev (Previous), Content (Content), Index (Index), Glossary (vocabulary), Copyright (copyright), Chapter, Section, Subsection, Appendix, Help (Help Information), Bookmark (Bookmark), etc. To specify multiple relationships, use spaces to separate the values.

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

New Post(0)