The <style>
element
Contains style sheet information written as CSS.
Full list of attributes
All the usual HTML global attributes are available
media
- The kind of media this styling should be used for, such as
screen
orprint
. scoped
- Indicates that this styling information should only be applied to the current scope, that is, the content of the element this
<style>
element is a child of. title
- Interpreted as containing an alternative style sheet set, as defined by the CSS Object Model specification, not a normal textual title to be shown as a tooltip.
type
- The MIME type of the styling language that's being used here. The default is
text/css
, and that's the only stylesheet language that anybody uses, so there's no point in using this attribute.