Composition of 1.url: protocol, domain name, path
Concept of 2.html
HTML is a Hypertext Markup language that supports other types of files in addition to text, such as: video, pictures, music, and a markup language.
3. The basic composition of the Web page:
HTML as the basis
CSS for rendering and layout of web pages
JavaScript to achieve the effect of Web page motion picture
4.html document tree-shaped structure diagram
root element HTML element
|
Head element BODY Element
| |
Meta element Title element div Element P element
5. What is a label:
1. Labels are made up of words wrapped in a pair of angle brackets, such as:
2. Label is case-insensitive,
3. The label has two parts: start tag
4. Some of the label functions are relatively simple, so we use a label, the label's self-closing and labeling, such as:<br/>
5. Tags can be nested, but not cross-nested, that is, a label's start and end tags must be in a sub-label
6. Properties of the label
1. The properties of the tag are in the form of a key-value pair, for example: Name= ' Alex '
2. Attributes can only be found in the start tag and self-closing tag
3. Attribute names are all lowercase and attribute values must be enclosed in double or single quotes
4. If the property value and the property name are exactly the same, write the property name directly, for example: readonly
7. Commonly used labels
1.<! DOCTYPE html> Label
2.html Label
3.head Label
1.meta Label
2. Non-META tags
4.body Label
1.div Label
2.P Label
Html+css+js