Attributes ka use .
Aap bahut se elements mein attributes ka use kar skte ho.Attributes kya hai
Jaisa ki aap jaante hai, elements html documents ko structure provide krta hai aur browser ko inform krta hai ki structure kaisa hai aur hum phir output dekhte hai. for example <br/> tag ka use website mein break line show krne ke liye kiya jata hai.thik ishi tarah jab hum elements mein kuchh aur information add kar dete hai to yahi aditional information attribute ho jaati hai.Example
<h2 style="background-color:#ff0000;">My friendship with HTML</h2>
Attributes hmesa start tag mein fill hote hai aur sign ke sath follow kiye jaate hai. Inverted comma mein attribute ko add kr kr diya hai aur semicolon ka use kiya jata hai phir end tag ushke baad document phir end tag se close kar diya jata hai.
Aap ishko apply kar dekhe.
What is catch.?
html mein bahut attributes hote hai. First jo abhi aap ne dekha style waala tha.
Ab hum style attribute ke sath layout ko bhi use krenge.
Example
<html>
<head>
</head>
<body style="background-color:#ff0000;">
</body>
</html>
Ye browser mein complete red page show krega.
Ab aap soch rahe hai ki page red kaise hua .
Html mein colors ke bhi code hote hai jinko ishi tarah likha jata hai
Example
White: #ffffff
Black: #000000 (zeros)
Red: #ff0000
Blue: #0000ff
Green: #00ff00
Yellow: #ffff00
ye kuchh color code hai jinko aap change kar ke alag alag time pe apply kar ke dekh skte ho.
Aap bahut se elements ko different attribute mein use kar skte ho .
Ishke liye aap color ki list ko bhi delhe aur color code yaad kare.
So guyz ab aap ko attribut k use krne ki jankari kaisi lagi coment kare aur btaye.
New html elements tags attributes etc ko sikhne ke liye blog ko subscribe krna na bhule .
Post ko dosto ke sath jarur share kare.

No comments:
Write comments