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 or print.
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.

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom