DOX Hosting - Affordable, Reliable Hosting and Reseller Hosting
Your Complete Web Hosting Solution
Domain Names - Web Hosting - SSL Certificates
Reseller Products and Services
Register Your Domain Today!
Knowledgebase

Introduction to CSS and types of CSS

CSS stands for Cascading style sheet.
CSS are usually used in webpages to format the pages and to make them more impressive.
CSS includes formatting webpages by specifying fonts,colors,borders,etc.

There are 3 types CSS :-
1. Inline CSS :-
When style is specified in the html tag itself , then this css is known as inline CSS.

ex. : <div style=”font-size:11px;”>……..</div>

2. Embedded CSS :-
When style is defined in the <head>…..</head> part of the page, then that css is embedded css.

ex. :
<head>
<style type=”text/css”>
div { color: #000000; }
</style>
</head>

3. External Style Sheet :-
When a separate style sheet document is created and attached in webpage using
tag then, it is the external style sheet.

ex. : consider that a document named ’style.css’ is available the to attach it or to use the styles use link tag in head section.
<head>
<link rel=”stylesheet” xhref=”style.css” type=”text/css”>
</head>

Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution

Privacy Policy | Legal | Sitemap


DOX Hosting provides: web hosting, reseller web hosting, dedicated servers, virtual servers, hosting, dedicated hosting, linux servers, colocation, dedicated, cpanel hosting, whm hosting, rack hosting, entry level hosting, personal hosting, business hosting, corporate hosting, blog hosting, php 5 hosting, secure hosting, enterprise hosting, web host, web hosts, php hosting, fast web hosting, reliable web hosting, ssl certificates, web design, affordable hosting, domain names, domain registration, domain hosting.