­
09/24/16 - Yaar No Technology

Search the Whole World Here.,.,

The class Attribute

The class Attribute

To define a style for a special type of elements, add a class attribute to the element: <p class="error">I am different</p> then...
The id Attribute

The id Attribute

To define a specific style for one special element, add an id attribute to the element: <p id="p01">I am different</p> then define...
CSS Margin

CSS Margin

The CSS margin property defines a margin (space) outside the border: Example p {    border: 1px solid powderblue;   ...
CSS Padding

CSS Padding

The CSS padding property defines a padding (space) between the text and the border: Example p {    border: 1px...
CSS Border

CSS Border

The CSS border property defines a border around an HTML element: Example p {    border: 1px solid powderblue;} Try...
CSS Fonts

CSS Fonts

The CSS color property defines the text color to be used. The CSS font-family property defines the font to be used. The CSS font-size property...
External CSS

External CSS

An external style sheet is used to define the style for many HTML pages. With an external style sheet, you can change the look of an entire web site,...
Internal CSS

Internal CSS

An internal CSS is used to define a style for a single HTML page. An internal CSS is defined in the head section of an HTML page, within a style element: Example <!DOCTYPE html><html><head><style>body {background-color: powderblue;}h1   {color: blue;}p    {color: red;}</style></head><body><h1>This...
Inline CSS

Inline CSS

An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses the style attribute of an HTML element. This example...
Styling HTML with CSS

Styling HTML with CSS

CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other...

Ads by Google