From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/html/global_attributes%2Fstyle.html | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 devdocs/html/global_attributes%2Fstyle.html (limited to 'devdocs/html/global_attributes%2Fstyle.html') diff --git a/devdocs/html/global_attributes%2Fstyle.html b/devdocs/html/global_attributes%2Fstyle.html new file mode 100644 index 00000000..607bd37e --- /dev/null +++ b/devdocs/html/global_attributes%2Fstyle.html @@ -0,0 +1,57 @@ +

style

The style global attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.

+

Try it

+
+

Note: This attribute must not be used to convey semantic information. Even if all styling is removed, a page should remain semantically correct. Typically it shouldn't be used to hide irrelevant information; this should be done using the hidden attribute.

+
+

Specifications

+
+ + +
Specification
HTML Standard
# the-style-attribute
+

Browser compatibility

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariWebView AndroidChrome AndroidFirefox for AndroidOpera AndroidSafari on IOSSamsung Internet
style1121Yes1514.41841411.0
+

See also

+

All global attributes.

+

+ © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
+ https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style +

+
-- cgit v1.2.3