Tuesday 18 December 2012

What is internal css ?

Cascading Style Sheets come in three flavors: internal, external, and inline. We will cover internal and external, as they are the only flavors a designer should utilize. In this lesson, we cover the basics of the easier type, internal. When using internal CSS, you must add a new tag, 'style', inside the 'head' tag. The HTML code below contains an example of 'style's usage.

CSS Code:


creating internal css code

CSS code is not written the same way as HTML code is. This makes sense because CSS is not HTML, but rather a way of manipulating existing HTML. Below is an example of some simple, yet fully functional, CSS code.

CSS Code:



White text on a black background!

No comments:

Post a Comment