HTML style Tag

h1 {color:red;}
p {color:blue;}

<h1>A heading</h1>
<p>A paragraph.</p>


Definition and Usage

The <style> tag is used to define style information for an HTML document.

Inside the <style> element you specify how HTML elements should render in a browser.

Each HTML document can contain multiple <style> tags.

Leave a Reply

Your email address will not be published. Required fields are marked *