HTML Basics
HTML = content. CSS = style. Keep them separate.
CSS & Selectors
selector { property: value; }
Accessibility
- Use alt text
- Good contrast
- Clear structure
DOM & Rendering
- Browser gets HTML
- Parse to DOM
- Apply CSS/JS
- Render to screen
Lists & Tables
| Element | Type | Semantic |
|---|---|---|
| <div> | Block | No |
| <span> | Inline | No |
| <header> | Block | Yes |
| <em> | Inline | Yes |
Exam Checklist