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 Responsive Login Form in HTML and CSS in Hindi

Create a Responsive Login Form in HTML and CSS in Hindi                                                              Login Form in HTML and CSS In this video, we will we see How to Create a Responsive Login Form in HTML and CSS in Hindi step by step. As you can see I try to make a Login form that should be different from others available online on any social media. Believe me, you gonna learn many new technique and tips on how to make a Responsive Login Form in HTML and CSS in Hindi. Let's talk about the background of the Login form in Hindi first. You can see It's a diagonal background and I know must of are thinking how we can create a diagonal webpage. Believe me, I wrote only one line of code to get the diagonal background on my Login Form in Hindi. background-image: linear-gradient(to top right, #color1 50%, #color2 50%); Create a Responsive Login Form in HTML and CSS in Hindi Now we will come to our Center Div. If you noticed I us

CSS - CSS Fonts in hindi, css font kya h,css font use kese kre,hindi me Technamdev.blogspot.com

CSS Fonts Properties से text/content के font को set किया जाता | इन properties में content को bold, italic, font size और अन्य प्रकार से styling की जाती है | CSS Font Generic Name and Font Family Name Font Generic Name Font Families का group होता है | जैसे कि, Sans-serif(generic) है और उसके अंतर्गत Arial, Arial Black, Agency FB, BankGothic, Calibri और आदि कई Fonts होते है | Font Family Name ये simple fonts name होते है | जैसे कि Arial, Arial Black, Agency FB, BankGothic, Calibri, और आदि कई | Agency FB Antiqua Architect Arial bankFuturistic BankGothic Blackletter Blagovest Calibri Comic Sans MS Courier Cursive Decorative Fantasy Fraktur Frosty Garamond Georgia Helvetica Impact Minion Modern Monospace Open Sans Palatino Roman Sans-serif Serif Script Swiss Times Times New Roman Verdana Most used Web Safe Font

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