html
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| html [2022/06/01 12:58] – html_editor page link rjt | html [2024/07/19 00:15] (current) – [Cool HTML Elements] ruby rjt | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ; ''< | ; ''< | ||
| : For keyboard / button instructions. | : For keyboard / button instructions. | ||
| + | ; ''< | ||
| + | : For rendering annotations above other text. Fun, but requires [[https:// | ||
| ===== Other Cool Things ===== | ===== Other Cool Things ===== | ||
| Line 23: | Line 25: | ||
| : You can specify alternative appearances for you page, which in [[firefox]] are accessed via '' | : You can specify alternative appearances for you page, which in [[firefox]] are accessed via '' | ||
| : [[https:// | : [[https:// | ||
| + | : [[web_browser# | ||
| ; '' | ; '' | ||
| : I always forget about this one. Some cool values are: | : I always forget about this one. Some cool values are: | ||
| Line 43: | Line 46: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | |||
| + | ==== Alternate Images ==== | ||
| + | |||
| + | Kinda cool, but I haven' | ||
| + | |||
| + | There are two ways to do this: | ||
| + | |||
| + | - A regular '' | ||
| + | - A '' | ||
| + | | ||
| + | Rough notes: | ||
| + | |||
| + | * srcset in img best support | ||
| + | * srcset leaves choice to browser, picture is for control | ||
| + | * srcset happens on page load, picture can change on the fly | ||
| + | * srcset attribute in img element | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | ===== Not-Cool Things ===== | ||
| + | |||
| + | IDs have to start with a letter, or they will be a pain to target in the [[CSS]] file. | ||
| + | |||
| + | ==== The HTML Crimes ==== | ||
| + | |||
| + | * [[wp> | ||
| ===== Accessibility ===== | ===== Accessibility ===== | ||
| ==== WAI-ARIA ==== | ==== WAI-ARIA ==== | ||
| - | |||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | |||
| + | Some useful '' | ||
| + | |||
| + | ; '' | ||
| + | : Eg: ''< | ||
| + | ; '' | ||
| + | : '' | ||
| + | ; '' | ||
| + | : For lists that can be collapsed and expanded. | ||
| + | : Eg: ''< | ||
| ==== Media ==== | ==== Media ==== | ||
| Line 65: | Line 103: | ||
| * If it's an image you can use '' | * If it's an image you can use '' | ||
| * If your drawing' | * If your drawing' | ||
| + | |||
| + | ==== prefers-reduced-motion ==== | ||
| + | |||
| + | You can change that way things like animations play for people that have set certain preferences i ntheir browser or OS. | ||
| + | |||
| + | * https:// | ||
| ===== Things I Forget ===== | ===== Things I Forget ===== | ||
| - | **Number | + | **Number |
| To nest a list, the sublist needs to be inside an ''< | To nest a list, the sublist needs to be inside an ''< | ||
| Line 85: | Line 129: | ||
| </ | </ | ||
| - | I'm always forgetting that ''< | + | I'm always forgetting that ''< |
| ===== See Also ===== | ===== See Also ===== | ||
| * [[html_editor]] | * [[html_editor]] | ||
| + | * [[css]] | ||
| {{tag> | {{tag> | ||
html.1654052289.txt.gz · Last modified: 2022/06/01 12:58 by rjt
