Define the document's CSS rules here

style

The style element is used to declare CSS rules that will be applied to the document.

Style elements may appear anywhere in the HTML. Most often styles are provides within the head element, but this is not required.

Multiple style elements may be declared within a single document.

Style elements may be used in tandem with external stylesheets.

Example

html {
head {
title Just Beyond the Thorny Divide
style {
html { font-size: 14pt; }
body { font-family: serif; }
h1 { color: red; }
p { text-indent: 2rem; }
}
}
}
The style element

Complement

link
The link element specifies where the browser can find additional resources needed to properly render the document.

semantax > styling > styleDefine the document's CSS rules here

🔎