Day12 HTML knowledge

1.html acquaintance

  • HTML (Hypertext Markup Language, HTML) by the label language the various parts to mark to display web pages. A set of rules, the rules of the browser know
  • Browser in order to render the page file, and then explain the display based on tags. But note that, for different browsers, the same tags may be not exactly the same explanation (compatibility)
  • Static pages file extensions: .html or .htm

  1.1 html what is not?

  HTML is not a programming language, but a markup language (Markup Language)
  HTML page described using the markup tags

 

  1.2 html structure

 

  • <! DOCTYPE html> tells the browser what kind of html or xhtml to parse html document
  • <Html> </ html> is the start and end tags of the document. This element tells the browser itself is an HTML document, among them the head of the document <head> and body <body>.
  • <Head> </ head> element appears at the beginning of the document. <Head> and content between the </ head> in the document window browser will not display, but the elements between them have special significance.
  • <Title> </ title> define the page title is displayed in the browser title bar. 
  • The text between the <body> </ body> is visible page body content

  1.3 html tag format

 

Guess you like

Origin www.cnblogs.com/NGU-PX/p/11567118.html