First chapter CSS and documentation
1. Structured HTML: (Personal understanding)
1. Separation of content, style and behavior
2, label semantics, what kind of label do what kind of thing
3. Conform to Web standards
4, the structure is clear, header, content, footer. Reduce duplicate code for the public part.
2. Unstructured pages make it difficult to build content indexes, reduce accessibility, and discourage maintenance.
3, the candidate style sheet, the rel attribute is alternate stylesheet, if supported by the browser, it will use the LINK element's Title property value to generate a list of candidate styles, the user can switch. (change theme?) )
4, the difference between @import and link is the specific syntax and location of the command. The @import appears in the style container, and is placed in front of other CSS rules. If an external style sheet is to use the style of another external style sheet, use @import at the beginning.
CSS-CSS Authoritative Guide Study notes 1