Friday, September 12, 2008

STYLES – An Introduction

WHAT IS A STYLE?
A way to make layout of a web page and its contents more presentable.
Just like people adopt fashion or develop styles in their habits.
e.g.
Batting style, bowling style, driving style, etc.
In web pages:
You select to render heading text in red color.
You select to render background of a heading in blue color.
You select to render heading text in sans serif font.
etc.
Load this HTML to view how we set heading styles.


Styles are not just limited to headings; there are other HTML elements where styles may be applied.
Let us take a look at the styles and elements where they apply 

No comments: