20-12-2012, 04:48 PM
Tutorials Point, Simply Easy Learning
1Tutorials Point.pdf (Size: 1.13 MB / Downloads: 34)
Before your begin:
Before you begin, it's important that you know Windows or Unix. A working knowledge of Windows or Unix makes it much easier to learn HTML.
You should be familiar with:
Basic word processing using any text editor.
How to create directories and files.
How to navigate through different directories.
Basic understanding on internet browsing using a browser like Internet Explorer or Firefox etc.
Basic understanding on developing simple Web Pages using HTML or XHTML.
If you are new to HTML and XHTML then I would suggest you to go through our HTML Tutorial or XHTML Tutorial. Anyone of HTML or XHTML is enough to proceed.
What is CSS?
Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to simplify the process of making web pages presentable.
CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, as well as a variety of other effects.
CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document. Most commonly, CSS is combined with the markup languages HTML or XHTML.
CSS Versions:
Cascading Style Sheets, level 1 (CSS1) was came out of W3C as a recommendation in December 1996. This version describes the CSS language as well as a simple visual formatting model for all the HTML tags.
CSS2 was became a W3C recommendation in May 1998 and builds on CSS1. This version adds support for media-specific style sheets e.g. printers and aural devices, downloadable fonts, element positioning and tables.
CSS Syntax – Selectors
A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document. A style rule is made of three parts:
Selector: A selector is an HTML tag at which style will be applied. This could be any tag like <h1> or <table> etc.
Property: A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties. They could be color or border etc.
Value: Values are assigned to properties. For example color property can have value either red or #F1F1F1 etc.
Building Color Codes:
You can build millions of color codes using our Color Code Builder. Check our HTML Color Code Builder. To use this tool you would need a Java Enabled Browser.
Browser Safe Colors:
Here is the list of 216 colors which are supposed to be most safe and computer independent colors. These colors very from hexa code 000000 to FF. These color are safe to use because they ensure that all computers would display the colors correctly when running a 256 color palette.