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

Styling Text in CSS

Applying Font
There are 3 ways to apply font:
1. Single Font Name:

body

    {

    font-family: Verdana;

    }

2. Font Family Keyword:

body

  {

  font-family: serif;

  }

3. Multiple Font Names:

body

{

font-family: Verdana,Arial,Helvetica,sans-serif;

}

 
Core Fonts

Sans Serif

Arial, Arial Black, Trebuchet, Verdana

Serif

Georgia, Times New Roman

Monospace

Courier New, Andale Mono

Cursive

Apple Chancery, Comic Sans, Snell

Fantasy

Impact, Stencil

Sizing Font
Done using the “font-size” property There are 4 ways:
  1. Using Absolute Keywords: Small, x-small, xx-small, Large, x-large, xx-large, Meadium
For Example

body

  {

    font-size: medium;

  } 

 

Advertisements

 

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

Privacy Policy • Terms of Use