BluePink BluePink
XHost
Gazduire site-uri web nelimitata ca spatiu si trafic lunar la doar 15 eur / an. Inregistrare domenii .ro .com .net .org .info .biz .com.ro .org.ro la preturi preferentiale. Pentru oferta detaliata accesati site-ul BluePink

above banner

banner website
under banner
home html css references contact
HOMEspace above menu HTMLCSSREFERENCES CONTACT
head of content;
monitors
under monitor image space
folder icon space between sign and sugestion Lessons

Introduction

If you'd wish to cutorials on my hypertext mark-up language tutorial home page.
What is CSS?
  •     CSS stands for Cascading style Sheets
  •  styles define the simplest way to indicate HTML elements
  •  styles were adscititious to HTML4.0 to unravel a haul
  •     External style Sheets can save a lot of labor
  •     External style Sheets area unit detain CSS files
An HTML document could also be displayed with wholly completely different styles:
Styles solved  a huge downside
HTML was near presupposed to contain tags for data formatting a document.
HTML was presupposed to define the content of a document, like:
This could also be a heading
This could also be a paragraph.
Then tags like , and color attributes were adscititious to the HTML 3.2 specification, it started a nightmare for internet developers. Development of big websites, where fonts and color data were adscititious to every single page, became associate extended and big-ticket methodology.
To solve this downside, the world Wide internet syndicate (W3C) created CSS.
In HTML 4.0, all data formatting could also be far from the hypertext mark-up language document, associated detain an extremely separate CSS file.
All browsers support CSS today.
CSS Saves a lot of Work!
CSS defines but HTML elements area unit to be displayed.
Styles area unit typically saved in external .css files. External style sheets amendment you to change the appearance associated layout of all the pages in an extremely science system, just by piece of writing one single file!

Internal Stylesheet

First we are going to explore the inner methodology. this fashion you're merely putting the CSS code inside the  tags of every (X)HTML file you would like to style with the CSS.

With this methodology every (X)HTML file contains the CSS code required to vogue the page. which means that any changes you would like to form to 1 page, can got to be created to any or all.

External Stylesheet

Next we are going to explore the external methodology. associate external CSS file will be created with any text or hypertext mark-up language editor like “Notepad” or “Dreamweaver”. A CSS file contains no (X)HTML, only CSS. you just put it aside with the .css file extension. you'll be able to link to the file outwardly by putting one amongst the subsequent links within the head section of each (X)HTML file you would like to style with the CSS file.
By exploitation associate external sheet of paper, all of your (X)HTML files link to 1 CSS come in order to style the pages. This means, that if you wish to change the look of all of your pages, you merely ought to edit one .css file to form global changes to your entire web site.

Cascading Order

In the previous paragraphs, I actually have explained the way to link to a css file either internally or outwardly. If you understood, than i'm doing an honest job. If not don’t fret, there's a protracted thanks to go before we tend to between breakets(<>). presumptuous you have got caught on already, you're most likely asking, well am i able to do both? the solution is affirmative. you'll be able to have each internal, external, and currently wait a second a 3rd way? affirmative inline designs additionally.

Inline designs

I have not mentioned them yet as a result of in an exceedingly manner they defeat the aim of exploitation CSS within the 1st place. Inline designs square measure outlined right within the (X)HTML file together with the component you would like to style.
This methodology will be sensible if you wish to style only 1 page, or if you would like completely different pages to own varied designs.

Biblography

  1. www.w3schools.com
  2. http://www.cssbasics.com/introduction-to-css/

Introduction

Syntax and selector

Background

Text style

List

Box model

Floating

Combinators

Pseudo classes

Pseudo element

like hr2
end site bar

Copyright 2014 Florin Bacu | All Rights Reserved

home  contact


under copyright