Attributes of common HTML tags (learning notes, slowly updating ...)
I plan to study PHP recently. I can't afford to spend any money to go to a training institution. So I had to read books and write podcasts in my dormitory.
1. common attributes of the body Tag
Bgcolor background color. It seems that you cannot use the color of the background image text with background. The color of the link hyperlink. The color of the hyperlink accessed by vlink, is the margin of the displayed content, not the right margin of the entire page and the browser margin rightmargin. The attributes of these four margins are the same as those of topmargin top margin bottomargin bottom margin.
2. Common attributes from h1 to h6 title labels
Align alignment, including left, right, center, and justify
3. common attributes of Section p labels
Align alignment, including left, right, and center
4. common attributes of hr horizontal line labels
Width horizontal line width size horizontal line width color horizontal line color align horizontal line align
5. common attributes of ol and ul ordered unordered list tags
- // If 1 is returned, it will be ordered.
- This is 1st
- // Disc solid circle
- This is 2nd
- // Circle hollow circle
- This is 3rd
- This is 4th
- // Square solid square
- This is 5th
- This is 6th
- This is 7th
- This is 8th
- // If square is used here, it will become unordered.
- This is 1st
- This is 2nd
- This is 3rd
- This is 4th
- This is 5th
- This is 6th
- This is 7th
- This is 8th
6. common attributes of a hyperlink tag
Place where href is to go target open method _ blank _ self _ parent _ top title move the cursor over the text name of the prompt anchor to link to the anchor to add #
7. common attributes of img image labels
Src image path witdh width height border alt text when the image cannot be found
8. table label
Header Cell
Title
| Header |
Header |
Header |
| Header |
Header |
Header |
Background Image bgcolor background color cellspacing distance between cells and cellpadding cells and content