|
|
Posted on 10/19/2014 12:12:30 PM
|
|
|

head: Chinese means head, top, upper paragraph
The function of head on a web page is:
The head tag is a built-in tag contained in the HEAD part of a web page, which is generally used to indicate the scripting language used and the method used when transmitting the web page.
<head> Tags are used to define the head of a document, and it is a container for all header elements. <head> element in the script, indicate where the browser finds the stylesheet, provide meta information, and more. The header of the document describes various properties and information about the document, including the title of the document, its position on the web, and how it relates to other documents. The vast majority of documents contain data that is not actually displayed to readers as content.
Generally, head tags are<base>, <link>, , <meta><script><style>, , and <title> <base> Tags specify a default address or default destination for all links on a page. <link> Labels define the relationship of a document to external resources. For example, some style files that link externally, etc <meta> element provides meta-information about the page, such as descriptions and keywords for search engines and update frequency. Set up automatic web page refresh, etc <script> tags are used to define client-side scripts, such as JavaScript. <style> Tags are used to define style information for HTML documents. <title> element defines the title of a web document, which is the text that appears on the browser title.
The above keywords such as title, link, and meta need to be written in the head, which can be understood as the head is the attribute that defines a web page.
|
Previous:The first lesson, the most basic grammarNext:Lesson 3, detailed introduction and use of < body >
|