wowana.me

website source


commit 0f6ed29afe3d57a9e01de0b7bb4110fc73ea58b7
parent a220eb0e7712ee21336555ce9a5db79365f3c6ea
Author: opal hart <opal@wowana.me>
Date:   Sat,  3 Sep 2022 05:38:01 +0000

htss: capitalisation

Diffstat:
Msrc/pages/htss.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pages/htss.md b/src/pages/htss.md @@ -50,7 +50,7 @@ Which tags and attributes are forbidden in HTSS? - Global attributes: - `[style]` violates the exclusion of `text/css` content inside HTSS. Use separate stylesheets with appropriate selectors, for instance the use of `[id]` or `[class]` attributes. -- Event handler attributes (`[on*]` JavaScript attributes such as `[onclick]`). these violate the exclusion of `application/javascript` inside HTSS. Include script files as separate assets and register callbacks from within the script. +- Event handler attributes (`[on*]` JavaScript attributes such as `[onclick]`). These violate the exclusion of `application/javascript` inside HTSS. Include script files as separate assets and register callbacks from within the script. - Any HTML5 tag or attribute marked deprecated. - Any HTML5 tag or attribute marked nonstandard and/or vendor-specific. @@ -64,7 +64,7 @@ Such information is also useful in creating other software that prioritises HTSS - All elements that are [deprecated or obsolete as defined in HTML5][MDN-deprecated], are not allowed in HTSS. - Event handler attributes (as mentioned above, the `[on*]` global attributes for JavaScript) and `[style]` attribute are not allowed in HTSS. -[MDN-deprecated]: <https://developer.mozilla.org/en-US/docs/Web/HTML/Element#Obsolete_and_deprecated_elements> "Obsolete and deprecated HTML elements" +[MDN-deprecated]: <https://developer.mozilla.org/en-US/docs/Web/HTML/Element#obsolete_and_deprecated_elements> "Obsolete and deprecated HTML elements" ## Other