html Quick Reference

 

 

A, html Language Overview

         HTML (English: HyperText Markup Language, referred to as: HTML) is a standard for creating a web page markup language.

         You can use HTML to build their WEB site, HTML run on the browser, to resolve by the browser.

 


Second, the current browser kernel (to know):

  1. Trident core products on behalf of Internet Explorer, also known as the IE core. Trident (also known as MSHTML), is a layout engine developed by Microsoft. Trident rendering engine using browsers include: IE, aoyou, Window browser, Avant, Tencent TT, Netscape 8, NetCaptor, SleipnirKKman and the like.
  2. Gecko kernel works on behalf of Mozilla FirefoxGecko is a set of open source, written in C ++ page layout engine. It is one of the most popular Gecko layout engine, second only to Trident. Its most famous use browsers Firefox, Netscape6 to 9.
  3. WebKit kernel representative works Safari, Chromewebkit is an open source project, contains some components from Apple and KDE projects, mainly for the Mac OS system, which is characterized by clear source code structure, rendering fast. The disadvantage is that the page code compatibility is not high, causing some to write non-standard page can not be displayed properly. The main representative works include Safari browser and Google's Chrome.
  4. Presto kernel representative works OperaPresto developed by Opera Software browser layout engine, Opera 7.0 and above for use. It replaces the older Opera 4 Elektra layout engine to use version 6, comprising adding dynamic features, such as web pages or portions may be DOM event and re-layout grammar Script.
  5. Blink kernel , Chrome and Opera was later changed to Blink kernel.

 

Three, HTML early experience

    

. 1  <! DOCTYPE HTML > 
2  < HTML lang = "EN" > 
. 3  < head > 
. 4      < Meta charset = "UTF-. 8" > 
. 5      < title > My page title </ title > 
. 6  </ head > 
. 7  < body > 
8      Hello everyone, I am the main page!
. 9  </ body > 
10  </ HTML >

 

  Examples of the above-described analytic

  • <! DOCTYPE html>  declaration for the HTML5 document
  • <html>  element is the root element of an HTML page
  • <head>  element of the document contains the element (Meta) data, such as the <meta charset = "utf-8custom page coding format  UTF-. 8 .
  • <title>  element describes the document title
  • <body>  element contains the visible page content

Note: Use F12 key on the keyboard on the browser page open debug mode, you can see the composition of the label.

 

Four, HTML elements (or tags) Comments

     See: https://developer.mozilla.org/zh-CN/docs/learn/HTML

 

Guess you like

Origin www.cnblogs.com/mengzhongfeixue/p/11516373.html