html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
html [2022/07/07 17:12] – Soem aria roles rjt | html [2023/12/09 20:04] – syntax fix rjt | ||
---|---|---|---|
Line 44: | Line 44: | ||
* 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 ===== | ===== Not-Cool Things ===== | ||
Line 79: | Line 97: | ||
* 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 ===== | ||
Line 99: | Line 123: | ||
</ | </ | ||
- | I'm always forgetting that ''< | + | I'm always forgetting that ''< |
===== See Also ===== | ===== See Also ===== | ||
* [[html_editor]] | * [[html_editor]] | ||
+ | * [[css]] | ||
{{tag> | {{tag> |
html.txt · Last modified: 2024/06/15 13:44 by rjt