Use of the style element in an HTML document:
The <style> tag is used to define style information for an HTML document.In the
style element you specify how HTML elements should render in a browser.
The scoped attribute is new in HTML5, which allows you to define styles for a specified section
of your document, instead of the entire document.
If the "scoped" attribute is present, the styles only apply to the style elements
parent element and its child elements.
Hint: To link to an external style sheet, use the <link> tag.
Hint: To learn more about style sheets, visit our CSS
Note: If the scoped attribute is NOT defined, the <style> element must be placed in
the <head> section.
The <style> tag also supports the Standard
Attributes in HTML5.
The <style> tag also supports the Event Attributes
Your Query was successfully sent!