Skip to content
HTML.ONE
Home HTML Elements

HTML <style> Element

Contains CSS rules for the document. An external stylesheet is useful for shared styles.

Example

<style>p { color: navy; }</style>

Further reference

HTML Living Standard