concept

Internal stylesheet

A style element embeds CSS in its document. It is convenient for isolated demonstrations. Its rules participate in the normal author cascade; being embedded does not automatically make a rule win over linked CSS.

Formal Syntax & Structure

css syntaxcss
<style>  p { color: #184168; }</style>

Working Example

Example Snippetcss
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>CSS reference demo</title><style>p { color: #184168; }</style></head><body><p id="sample">A field note from the coast.</p></body></html>
CSS Reference