Text Properties: ================ background-color: ================= ==> to set the background color to the text/block, background-color property can be used. Syntax: background-color : color-name | hexa-code | rgb() | rgba() ============================== text-decoration: ================ ==> to define the decorations like: underline overline line-through "text-decoration" property can be used. Syntax: text-decoration : text-decoration-type text-decoration-color text-decoration-style; here: 1) text-decoration-type : underline | overline | linethrough; 2) text-decoration-color 3) text-decoration-style : solid | dotted | dashed | double | wavy; ===================================== text-transform: =============== ==> to define the case of the text we can use "text transform" property. Syntax: text-transform : none | uppercase | lowercase | capitalize case ================================ text-indent: ============ ==> the space for the first line of the paragraph at the beginning. Syntax: text-indent : number; =============================================== letter-spacing: =============== ==> to define the space between the letters "letter-spacing" can be used. Syntax: letter-spacing : number; ================================================ word-spacing: ============= Syntax: word-spacing : number; ============================= line-height: ============ ==> use define the space between lines Syntax: line-height : number; =========================================== direction: ========== ==> can use to define the text direction to display. Syntax: direction : ltr | rtl; ========================================================== text-shadow: ============ ==> to define the shadow to the text Syntax: text-shadow : h-shadow v-shadow blur-shadow color; ============================================== .html code: =========== Text Properties

The Bright Place to Build The Best Career Value

Best Opportunity To Learn From Currently Working Professionals

Online Training

Classroom Training

Corporate Training

Weekend Workshops

Placement

Internships

I have completed multiple certification courses from Ashok IT including Java, cloud computing, and data structures and algorithm. I was greatly impressed by the commendable teaching methodologies and experienced and insightful tutors who were able to simplify the process of learning various complex technologies

============================ .css file: ========== #sec1{ width: 200px; height: 30px; border: 3px solid black; background-color: green; color: white; text-align: center; text-transform: uppercase; } #sec2{ width: 200px; height: 30px; border: 3px solid black; background-color: blue; color: white; text-align: center; text-transform: uppercase; } #sec3{ width: 200px; height: 30px; border: 3px solid black; background-color: orange; color: white; text-align: center; text-transform: uppercase; } #sec4{ width: 200px; height: 30px; border: 3px solid black; background-color: purple; color: white; text-align: center; text-transform: uppercase; } #sec5{ width: 200px; height: 30px; border: 3px solid black; background-color: red; color: white; text-align: center; text-transform: uppercase; } #sec6{ width: 200px; height: 30px; border: 3px solid black; background-color: rgb(115, 152, 204); color: white; text-align: center; text-transform: uppercase; } h2{ text-decoration: underline rebeccapurple dotted; text-transform: capitalize; /* direction: rtl; */ text-align: center; text-shadow: -10px -15px 7px #5ac4d7; } p{ text-indent: 25px; letter-spacing: 2px; word-spacing: 10px; line-height: 20px; }