Tutorial search
Tutorials
Stuff
Affiliates
Photoshop Templates
Featured Photoshop templates - professional ready to use designs for your next project.
View all templates
CSS Syntax and CSS Properties - CSS tutorial

Category: CSS tutorials - Difficulty: 

Applying CSS to HTML document
You can apply CSS to HTML document in one of three ways:
- Inline or attribute style
- Internal or tag Style
- External or link to a style sheet
To apply CSS as an inline style, this is how you code it:
Change this
<p>
<font face=“Verdana, Arial, Helvetica, sans-serif” size=”12pt>text</font>
</p>
<font face=“Verdana, Arial, Helvetica, sans-serif” size=”12pt>text</font>
</p>
to
<p style font-family: verdana, arial, helvetica, sans-serif; size: 12pt;>
text
</p>
text
</p>

