Changes

Jump to: navigation, search

Understanding Cascading Style Sheets (CSS)

54 bytes added, 17:39, 17 May 2007
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 following HTML tag specifies a color rule for just the current <H1P> tag:
<pre>
<p style="color: green;">This is a text paragraph</p>
</pre>
 
== Setting Styles using the ''id'' Attribute of an HTMl Element ==

Navigation menu