- HTML BASIC structure
- HTML tags
- HTML elements
- HTML properties
- Comments
①
Basic Structure
<HTML>HTML: Indicates that it is an HTML file<Head> <title>Title</title>Head : Header information is not displayed in the Web page</Head> <Body>page body content body: Web content, the browser can see all the content is here</Body></HTML>
②html LabelComposition: The general situation appears in pairs, consisting of a start tag and an end tag, the label name is the same, the end tag is /Tag name Some labels are made up of one, such as
③html Elements
Start tab-End all of the contents of the tag as an element
< Head > < title > titles </title> </head>
< title > caption </title> is an element
Both of these are an element ④
HTML Properties
< Tag Properties 1 = "Property Value" Property 2 = "Property value" ></label > attribute space separated by property Example <body bgcolor= "Red" > </body>
④ Notes
<!--comment Content--
HTML Learning Notes: 2. Basic syntax