Computer Science, asked by therof234, 16 hours ago

write 50-200 words on css text please don’t scam I’ll give thanks and brainliest if correct answer (;

Answers

Answered by kavithabasu1011
0

Explanation:

TEXT FORMATTING

This text is styled with some of the text formatting properties. The heading uses the text-align, text-transform, and color properties. The paragraph is indented, aligned, and the space between characters is specified. The underline is removed from this colored "Try it Yourself" link.

Text Color and Background Color

In this example, we define both the background-color property and the color property:

Example

body {

background-color: lightgrey;

color: blue;

}

h1 {

background-color: black;

color: white;

}

div {

background-color: blue;

color: white;

Text Color

The color property is used to set the color of the text. The color is specified by:

a color name - like "red"

a HEX value - like "#ff0000"

an RGB value - like "rgb(255,0,0)"

Look at CSS Color Values for a complete list of possible color values.

The default text color for a page is defined in the body selector.

Example

body {

color: blue;

}

h1 {

color: green;

}

Similar questions