34,333
edits
Changes
→Setting Styles for Indiviual Elements
== Setting Styles for Indiviual Elements ==
To set the style for an individual HTML element in a web page simply include the style rule inside the HTML tag. the The following HTML tag specifies a color rule from for just the current <H1> tag:
<pre>
<h1 style="color: green;">A Heading</h1>
</pre>
<h1 style="color: green;">A Heading</h1>
</pre>