Level 3
Viewport | Controls screen scaling and width handling |
Media Query | CSS rule that adapts based on device props |
Breakpoint | Width that triggers a layout change |
Mobile First | Start with small screens, scale up |
Desktop First | Start big, adapt downward |
Responsive Design | Design that works on all devices |
| Where to send the data (a file or URL) |
| GET = visible in URL, POST = sent in secret |
| Browser autofill (on/off) |
| Needed for file uploads (set to multipart/form-data) |
| Everything – depends on | Default type is |
| Multi-line input (e.g., messages) | Has its own tag, not |
| Multiple selection | Use same |
| Single selection in a group | Also share the same |
| Dropdown menus | Use |
| Describes a field | Use |
| MUST be set to |
| Filter file types (not secure alone) |
| Allows selecting multiple files |
| User must pick something |
| The wrapper – sets method + destination |
| GET = public (URL), POST = private (body) |
Input types | text, email, number, file, checkbox, radio |
| For longer text |
| Dropdowns with |
| Links to input with |
Validation |
|
File Uploads | Needs |
Part | Description |
|---|
Scheme | Protocol (http, https, ftp, mailto) |
Domain | The human-readable name (or IP) |
Port | Optional (default: 80 for HTTP, 443 for HTTPS) |
Path | Folder or file location on the server |
Arguments | Data sent to the server via |
Anchor | Jumps to a section on the page ( |