Request process browser, client

1. browser Chrome
    Chrome within it eleven a parser that parses our code, each browser kernel is not the same,
so there is a compatible browser. This is a core engine.
    Example: Google's engine is the webkit engine is v8
2. The client request process
  1. Key: Transfer Protocol
  2. Return data is not a file
  3. parse html language known as hypertext tag
 browser window is the window of the window is the Android APP webview
learning label we use
<! DOCTYPE html> what this place represents the beginning of the document?
      This feature tells the browser to w3c standards parsing and rendering the page
      the browser parses a page, there are two modes: the first resolved in accordance with the browser on your way. This is called quirks mode
              second using standard analytical w3c page. This is called the standard model
              if you do not write this statement, each browser will be resolved in its own way, using quirks mode in different browsers have different performance
         add this statement, it is resolved in accordance with the standard mode, the browser It is consistent.
              I saw this statement, that he is h5 page. h5 new features you can use
      html root tag   
        html header tags
    meta tags meta tag information
    charset = "UTF-8" encoding is font encoding international utf-8 country is Taiwan, Hong Kong Traditional encoding is gb2312 big5  
    <Meta name = "viewport" Content = "width = Device-width, Initial-Scale = 1, Minimum =. 1 -scale, maximum-Scale =. 1, Scalable = NO-User "/>
    name =" the viewport "is called the viewport specific operation on this content viewport
    width = device-width equal to the width of the viewport width of the device
    browser default viewport is 980 above the label is to make the browser viewport viewport and equipment consistent.
    name = "Description"
    specific content for website content to make the official site description is described.
    <meta name = "Keywords" content = "" />
    used to do site search keywords
    <meta http-equiv = "Pragma " content = "on-cache">
    told the web pages are not cached
    <meta http-equiv = "refresh" content = "3; url = https: //www.baidu.com" />



    <Link the rel = "this stylesheet" type = "text / CSS" the href = "omake / X-icon" />
    the rel currently requested file is a file of a relational
    type request file type of
    the path of the requested file tref
    shortcut icon especially icon in the browser address shown on the left of the
    <link rel = "stylesheet" href = "a.css" />

tag
    single tag (empty tag)
------------------ ----
protocol
http express agreement (insecure protocol)
HTTPS confidentiality agreement (security agreement)

to learn this label
       1. learn how to write syntax <+ label name>
       2. Remember all the tag name
       3. understand the label so all box
       attributes 4. learning tags and css attributes
          label property is private label, and the other does not, css property is shared by other labels have

Guess you like

Origin www.cnblogs.com/hxj521/p/12055514.html