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