First, what is HTML?
1) HTML is Hypertext Markup language;
2) The markup language is made up of a set of labels;
3) HTML is used to describe a Web page with tag tags.
Second, HTML tags:
1) <b></b>;
2) < tag name > content (tag body) </tag name >;
3) If the label has no content, it can be abbreviated < tag name/>;
4) The Web page file ends in HTML or HTM: such as xxx.html or xxx.htm.
Third, the basic structure of the Web page:
<title> Towers Rui Technology </title>
<body>
Welcome to Tao Rui Technology!!
</body>
1) Create a new text document (. txt)
2) Rename the document as a Web document, ending in. html
3) write HTML code (TAG)
4) Use the browser to open the view
Four, the tag grammar rules:
1) have start < tag name > must have end </Tag name > = + Label paired appearance
2) empty content label can be abbreviated < tag name/>
3) Label names are case insensitive. <p> = <P>
4) Most tags have attributes
< Tag Name Property name = attribute value > Content </Tag name >
Example: <body bgcolor= "Red" > Towers Rui Technology </body>
V. Display of special characters:
1) Space:
2) <: <
3) >: >
Six, the common simple label:
1) title tag: H1~h6
2) Horizontal:
3) Paragraph:<p> new line display, there are blank lines up and down
4) Wrap the contents of the:<br/> label to the next line to start showing, no blank line up and down
Vii. img Image Tags:
1)
2) src: Specify the location of the picture
3) Width: width
4) Height: high
5) Border: frame 1px
6) Alt: When the picture does not exist, replace it with text
7) Title: Explanatory text
Novice learner, about HTML get started knowledge point, understand HTML?