Presmurdu - Pakistani Urdu Forum | urdu shayari | Urdu Islam | Design Urdu Poetry
Aslam-O-Alekum
mhotram guest ager ap www.presmurdu.com k member hain tu yahan sa login hun....
ager ap member nahi hain tu yahan sa ap humara es forum ma Register ho sakta hain.......





















Presmurdu - Pakistani Urdu Forum | urdu shayari | Urdu Islam | Design Urdu Poetry
Aslam-O-Alekum
mhotram guest ager ap www.presmurdu.com k member hain tu yahan sa login hun....
ager ap member nahi hain tu yahan sa ap humara es forum ma Register ho sakta hain.......




















Presmurdu - Pakistani Urdu Forum | urdu shayari | Urdu Islam | Design Urdu Poetry
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Presmurdu - Pakistani Urdu Forum | urdu shayari | Urdu Islam | Design Urdu PoetryLog in

descriptioncomplete[ENGLISH] How to Use CSS Styles

more_horiz

How to Use Styles

When a browser reads a style sheet, it will format the document according to it.

There are three ways of inserting a style sheet:

1 - External style sheet
2 - Internal style sheet
3 - Inline styles



External Style Sheet

An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the <head> section:

Code:

<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>



Internal Style Sheet

An internal style sheet can be used if one single document has a unique style. Internal styles are defined in the <head> section of an HTML page, by using the <style> tag, like this:

Code:

<head>
<style type="text/css">
body {background-color:yellow;}
p {color:blue;}
</style>
</head>



Inline Styles

An inline style can be used if a unique style is to be applied to one single occurrence of an element.

To use inline styles, use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example below shows how to change the text color and the left margin of a paragraph:

Code:

<p style="color:blue;margin-left:20px;">This is a paragraph.</p>



i hope yh thread new web designers kliya help helpful ho ga A happy smiley

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
nice sharing ...good work..keep it up aur urdu me post/thread karen/lagaen

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
Samajh Gaye Lucky Saheb A cool smiley
Thank You 4 Ino. Bro

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
Nice Sharing Dear Mager Yeh Cheezan Net Pa English Zuban Main To Asane Sa Mel Jate Hain Mager En Sections Ko Banana Ka Humara Maksad Yeh Tha K New Pakistani Desingers Ko Yeh Sab Urdu Main Mele Tank Une Yeh Sab Samjna Ma Asane Ho ....

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
آپ سب کے پسند کرنے کا شکریہ
ٹھیک ہے بھائی میں اُردو میں لکھ دیتا ہوں یہ سب اور عندہ بھی معلومات اُردو میں پوسٹ کروں گا

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
Move To English Zone

descriptioncompleteRe: [ENGLISH] How to Use CSS Styles

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply