HTML मैं Background एवं Color control का वर्णन कीजिए । Describe The Background and Color Control in HTML

0
Background: background कंट्रोल का प्रयोग वेब पेज की background को अपनी इच्छा अनुसार रखने केेेे लिए किया जाता है । Background Control का प्रयोग वेबपेज के HTML code  मैं body tag के साथ किया जाता है
<Body>tag के विभिन्न Attributes होते हैं--
1. BGcolour~इस Attribute का प्रयोग Default Background Color को बदलने के लिए किया जाता है।
2. Background~यह attribute GIF फाइल के नाम को specify करती है, प्रयोग डॉक्यूमेंट के बैकग्राउंड के रूप मेंं किया।
3. Text~यह attribute body के text colour को बदलने के लिए प्रयोग किया जाताा है।
निम्नलिखित उदाहरण में<body>Tag के attributes का प्रयोग किया जाता हैं।
<HTML>
<Head>
<title>
This example source body's attributes
</title>
</Head>
<Body BGcolour=yellow text=red background="c:\raj.gif">

<H1>HTML is used for web page</H1>
<H2>This is very easy language</H2>
<H3>This is inside body tag</H3>
</Body>
</Html>
Colour Control-वेब पेज में specified text का colour बदलनेे के लिए HTML code मैं colour control का प्रयोग  किया जाता है । Colour control को<font>tag मैं प्रयोग किया जाता है। Colour control<font>tag का एक attribute है।<FONT>tag केे निम्नलिखित attributes है--
1. FONT FACE: यह attributes specified text के font का नाम set करता है।
2. SIZE: यह attributes specified text के size को अपनी इच्छा अनुसार set करता है।
3. COLOR : यहa specified text का color set करता है।
निम्नलिखित उदाहरण में Font के विभिन्न attribute को दर्शाया गया है--
<Html>
<head>
<title>
Color control's example
</title>
</head>
<Body BGcolour=red>
<H1>this is my first webpage</H1>
<H2>welcome to my webpage</H2>
<FON TFACE="Time New Roman"SIZE=10 color=cyan>
This font's effect
</Font>
</Body>
</Html>
यह भी पढ़ें: Snapdeal se paise Kaise kamaye 2022.

 यह भी पढ़ें: Edelweiss Refer and Earn 2022. Edelweiss Refer and Earn Term and Conditions.



Writer by~Ajay silawat

Post a Comment

0Comments
Post a Comment (0)