Html--head elements

Source: Internet
Author: User

1.

2. <meta property = "attribute value"/> Explanation: Meta: Define additional information for the page;

<meta name= "Information name" content= "Value of additional Information" >

(The information name is most commonly used as keyword keyword, if there are multiple keywords, content= "keyword 1, keyword 2");

(Information name =description, setting the main content of the page)

(Information name =robot, define how the page is searched, then content=

The value of the content

Meaning
None The page cannot be retrieved and the link on the page cannot be queried
Index Page will be retrieved
Follow Links on the page can be queried
Noindex The page will not be retrieved, but the link on the page can be queried
Nofolllow Pages will not be retrieved, links on the page can be queried
All The page will be retrieved and the link on the page can be queried

(Information name =author, content= author)

(Information name =copyright,content= copyright)

3. <mata http-equiv= "Information name" content= "Value of additional information"/>

<mata http-equiv= "Refresh" content= "jump time; url= link Address"/> (refresh for page refreshes)

4.<title> Page Title </title>

5.<base Property = "Property value"/>

<base href= "Specify path" > contained Content section </base> invoke the display in the connection.

6.<style></style> Create the styles used in this page.

<style type= "type" ></style> used to specify the type of content included in the <style> element, such as: Text/css.

<style media= "Media type" > screen: computer monitor TV: TV Print: Printer aural: Audio device TTY: text all: All

7.<link Property = "Property value" The/> Connection element link is used to specify the relationship between the document and other documents.

Property name Writing
Text Display Direction Dir
Specify language Lang
Type property Type
Media selection Media
Title Title
Character Set name CharSet
Specify Link path Href
Relationship between source document and target document Rel
Relationship between the target document and the source document Rev
Link window Target
Mark Id
Class Class
Defining cascading Styles Style

8.<script> Script Content </script>

<script language= "scripting language" > Script content </script> (Common scripting language: JavaScript, and VBScript)

<script defer=defer> Script Content </script> (is not displayed in the script deferred execution, purpose to speed up the page display speed)

<script src= "path to script file" ></script>

Html--head elements

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.