php-mysql tutorial

Designed By NISHANT GUPTA

  • Home
  • PHP
  • HTML
  • CSS
  • JavaScript
  • JQuery
  • Contact-us
  • Learn HTML

    • Introduction of HTML
    • Image Handling in HTML
    • List Handling in HTML
    • Font Handling in HTML
    • Table Handling in HTML
    • Form Handling in HTML
  • Learn CSS

    • Introduction of CSS
    • Styling Background in CSS
    • Styling Text in CSS
    • Styling Font in CSS
    • Styling Link in CSS
    • Styling List in CSS
    • Styling Table in CSS
    • Styling Div in CSS
    • Styling Span in CSS
    • Positioning in CSS
    • Display in CSS
  • Learn JavaScript

    • Introduction of JavaScript
    • Data Type in JavaScript
    • Variable in JavaScript
    • Oprator in JavaScript
    • Cond. Statement in JavaScript
    • Loop in JavaScript
    • Array in JavaScript
    • Function in JavaScript
    • Date in JavaScript
    • String in JavaScript
    • DOM in JavaScript
    • Event Handling in JavaScript
    • Form Handling in JavaScript
  • Learn PHP-MYSQL

    • Introduction of PHP
    • Decision Control in PHP
    • Loop in PHP
    • Array in PHP
    • Function in PHP
    • Form Handling in PHP
    • File Inclusion in PHP

Introduction of CSS

What Is CSS ?
  1. Cascading Style Sheets, popularly called  CSS, is a simple design language intended to simplify the process of making web pages presentable.
  2. CSS handles the look and feel part of a web page.
  3. Using CSS, we 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.
Advantages Of CSS
  1. CSS saves time .
  2. Pages load faster.
  3. Easy maintenance.
  4. Superior styles to HTML.
  5. Multiple Device Compatibility .
Who creates and maintains  CSS ?
  1. CSS is created and maintained through a group of people within the W3C called the CSS Working Group.
  2. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.
  3. These specifications are called recommendations because the W3C has no control over the actual implementation of the language.  It depends on the browser.

CSS Versions

  1. Cascading Style Sheets, level 1  in December 1996.
  2. CSS2 in May 1998.
  3. The work on CSS3 has been going on for years, but seems to advance very slowly. CSS3 is divided into modules, and the idea is that each module can become a recommendation independently from the others. No module has reached that stage, but some parts of the CSS3 specification have already been implemented by browsers.
CSS Syntax

 selector { property: value }

The syntax for CSS is different than that of HTML markup but is case insensitive.
It consists of only 3 parts.
 
CSS Syntax Description
  1. Selector: A selector is an HTML tag at which style will be applied. This could be any tag like <h1> or <table> etc.
  2. 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.
  3. Value: Values are assigned to properties. For example color property can have value either red or #F1F1F1 etc.

Advertisements

 

©  2014 All Rights Reserved  •  Design by >Nishant Gupta.

Privacy Policy • Terms of Use