0% found this document useful (0 votes)
32 views2 pages

Text Properties Description Example

This document describes various text properties that can be used to style text elements, including color, text alignment, line height, case transformation, font, margins, borders, and background properties. It provides examples of property names and values, such as specifying color as "red", text alignment as "right", line height as "8px", and background image as "url(image.jpeg)". These properties allow precise control over text appearance and positioning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

Text Properties Description Example

This document describes various text properties that can be used to style text elements, including color, text alignment, line height, case transformation, font, margins, borders, and background properties. It provides examples of property names and values, such as specifying color as "red", text alignment as "right", line height as "8px", and background image as "url(image.jpeg)". These properties allow precise control over text appearance and positioning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Text Description example

properties
color It specify Color:name
the Color:red
foreground
color of the Color:rgb(120,10,255)
text
Text-align It specify Text-align:right,left
the
horizontal
alignment
of text like
left, right,
center
,justify
Line-height Line-height:8px,pt,cm

Text- Text-
transform transform:uppercase,l
owercase
font Font: bold 18pt times
new roman
Font-size:18px
Font-style:arial

Margin Margin:10px 5px 5px


Margin- 10px
left:18px

borde Border:solid 3px green


Border-width:thick,5px
Border-
style:solid,dashed
Border-color:color
name
Background Background-color:color
-color name
Background Background-
-image image:url(image.jpeg
)

You might also like