For Chinese web pages need to use <meta charset= "Utf-8" > Declaration Code, otherwise garbled
- <! DOCTYPE html> declared as HTML5 document
- element is the root element of an HTML page
- The element contains meta data for the document
- The <title> element describes the title of the document
- The <body> element contains the visible page content
- element defines a big headline
- <p> element defines a paragraph
- The
- HTML link is defined by label <a>, <a Span class= "Hl-var" >href= "http:// Www.runoob.com "> This is a link </a> Specify the address of the link in the href attribute
- html image is defined by label , <img src= "/images/logo.png" Span class= "Hl-code" > width= " 258 " height= "39" />
- Adding a slash to the start tag, such as <br/>,
- Most HTML elements can have properties, and properties always appear as name/value pairs, such as: name= "value", common properties Class,id,style, etc.
- Annotation notation <!-- This is a comment --
- When a page is displayed, the browser removes extra spaces and blank lines from the source code. All consecutive spaces or blank lines are counted as a space
Getting Started with HTML