Skip to main content

CSS - CSS Text in hindi, css text kya h, kese likhe Technamdev.blogspot.com

आपने देखा होगा कि कई websites के text का color अलग-अलग होता है |
HTML का default text color ये black होता है, लेकिन अगर कुछ लोग चाहते है तो इस text color को बदल भी सकते है |

Text Related CSS Properties

Color Property for Text Color

निचे div1, div2 और div3 को एक ही color को अलग-अलग प्रकार से दिया गया है | निचे color को अलग-अलग प्रकार से दी जाने वाली values को दिया गया है |
Type of ValueDescription
color_nameयहाँ पर color का नाम दिया जाता है | For Example, color : red
hexadecimal color codeयहाँ पर hex code color भी दिया जाता है | For Example, color : #F00
rgb color codeयहाँ पर rgb(red,green,blue) color code भी दिया जाता है | color : rgb(255, 0, 0)
hsl color codeयहाँ पर hsl(hue,saturation,luminance) color code भी दिया जाता है | color : hsl(360, 100%, 50%)

.div1{
 color : #F00; /* hexadecimal color code */
}
.div2{
 color : red; /* color name */
}
.div3{
 color : rgb(255, 0, 0); /* rgb color code */
}
.div4{
 color : hsl(360, 100%, 50%); /* hsl color code */
}
Output :

Text PropertyDescription
colortext पर color को set किया जाता है |
directiontext की direction को set किया जाता है | For Example, Right to Left, Left to Right
letter-spacingCharacters के बीच के space को increase या decrease किया जाता है |
text-alignhorizontally text को align किया जाता है |
text-decorationtext को decorate किया जाता है और उसपर text decoration से related सभी properties के values का इस्तेमाल किया जाता है |
text-indentSpecially for <p> Tag | Paragraph के first line को indentation दिया जाता है |
text-shadowtext के चारों ओर text shadow; set की जाती है |
text-transformText को capitalize, uppercase या lowercase में convert किया जाता है |
white-spacetext के overflow को control करने के लिए इस्तेमाल किया जाता है |
word-spacingWords के बीच के space को increase या decrease किया जाता है |

Comments

Popular posts from this blog

Create a Website using HTML and CSS in Hindi With Source Codes

Create a Website using HTML and CSS in Hindi With Source Codes Welcome Developers, we will see how to create a website using HTML and CSS step by step in Hindi. The link is in Comment sections. In this Video, you will learn how to put everything you've learned so far about CSS into action—for your very first webpage. What you see now is going to look like your end result; I hope it inspires you to follow through with the whole project! You'll learn the components of this site and how it was put together, piece by piece. Also, website kaise banaye hindi me complete video. If you like this video please Like, Share with your friends and Don't forget to SUBSCRIBE my ThapaTechnical Channel :)

RSOS (Rajasthan State Open School) student and RBSE students big update , news in hindi

                  kya nhi honge promote / kya exam honge  rajasthan state open school and RBSE ke students ke lia bahut badi khabar aayi hai . promote hone ke chance hua kam . par ab bhi kosis karne par aap sabhi ko promote kiya ja sakta hai . per esi bich aap apni teyari bhi jaari rakhe taki aapke exam hone par bhi aap achhe nubers s paas ho sake. Thank You

ITI Employability Skills important question in hindi #Technical-INFo

                                                    Technical INFO 1. _________ संदर्भ प्रेषक तथा प्राप्तकर्ता को  मध्य पृष्ठभूमि की समानता को संदर्भित करता है  | ( a) भौतिक  (b ) सामाजिक (c ) सांस्कृतिक  ( d) समकालिकता ANS:- C   2. _______  विभिन्न पार्ट्स ऑफ़ स्पीच की फॉर्म्स को समझ लेने से ग्रामर सिखने का आधार तैयार हो जाता है   | ( a) पांच (b ) आठ (c ) सात  ( d) छ: ANS:- b   3.  आपको अपने साक्षात्कार के लिए कब आने की योजना बनानी चाहि ए  ? (a) 2  घंटे पहले (b) 1  घंटे पहले  (c) 30  मिनट पहले (d)  ठीक समय पर ANS:- C   4. WAN  का मतलब होता है    ? (a) Winning  And  Networking (b) Windows Access Network (c) Wide Access Network (d) Wide Area Network ANS:- d   5.  निम्नलिखित में से कौनसा एक एन्टी वायरस है    ? (a)  नॉर्...