These properties are very important aspects of CSS to display the text on the web page so that users or readers can get attract by seeing your text on the website. You could see the text is presented with different types of text formatting properties. So far, we have studied about text formatting ways in CSS. For instance, Helvetica, Calibri, Arial, Sans-serif, Times, Courier New, etc.Įxample: Illustration of the font-family property This property is used to provide various types of font-family names for the selected text.
The default size of the text is 1em, which is equal to 12pt. This em property can be used to define the size of the text according to the surrounding text. It uses components such as left position, the top position, size of the blur, color name.ĮDUCBA (Corporate Bridge Consultancy Pvt Ltd) is a skill based education It can be defined by using the text-shadow property. This property can be used to give shadow for the text. This property can be used to change the direction of the text. It can be defined by using line-height property.ĮDUCBA (Corporate Bridge Consultancy Pvt Ltd) is a leading global provider of skill based educationĪt eduCBA, it is a matter of pride to us to make job oriented hands on courses available to anyone, anytime and anywhere.
This property can be used to give space between the lines. It can be defined by using the letter-spacing property. This property can be used to give space between characters. It can be defined by using the word-spacing property. This property can be used to give space between words. It can be defined by using px, cm, pt properties.Įxample: Illustration of text indentation This property can be used to indent the first line of the text. It can be defined by using capitalize, uppercase, lowercase properties.Įxample: Illustration of text transformation This property can be used to change cases of the text. It can be defined by using underline, overline, line-through properties. This property can be used to decorate the text. It can be defined by using left, right, center, justify properties. This property can be used to change the horizontal of the text. It can be defined by using color property. This property can be used to change the color of the text.
#Css selected text color software#
Web development, programming languages, Software testing & others List of CSS text formatting propertiesīelow is the list of CSS text formatting properties.ĭetails of Text formatting ways in CSS:- 1) Text Color
#Css selected text color how to#