H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch Portuguese Japanese தமிழ்
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback





CSS an Intro


Topic

What is css and how do we use it in html?



Explanation

This is a very small intro to css. Learn css with the css tutorials.
This will make you more interested to learn the CSS in depth.

CSS - Cascading style sheets. Its used with html component and it adds more beauty to the html components. We will see one example. Label Tag:
<div style="border: green solid 3px;">
This font takes css styles
</div>

Result:
This font takes css styles


Definition: The attribute "style" belongs to css.
The style can be added to any html tag.

Here we have set a border using style sheet.
The format is as given in the example.
First we will define the attribute we are trying to set, followed by ":" and the value.
In this case border is the attribute and its value is the order of "border-color border-type border-size".
Then the attribute will end with ";".

Another example:
Tag:
<a href="http://www.hioxindia.com">
<div style="border: red solid 1px; background-color: white;">
Link Using Styles
</div>
</a>

Result:
Link Using Styles

More will flow in our css tutorials.





privacy policy     license     sitemap
© 2004-2010 HIOX INDIA

Other Links