answersLogoWhite

0


Best Answer

To define the color of the text w/ CSS, it is {color:[color of text];}

Ex.: body{color:#0000ff;}

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the CSS property color text?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you indent the first line of a text css?

Use CSS text-indent property. Simple example here: p{ text-indent: 20px; }


What CSS property specifies the background color of a table?

Use the CSS declaration "background-color" For instance... <style type="text/css"> body { background-color: red; } </style> That code will change the background color to red. Background color will take the same values for a color as all other CSS color. A named color keyword, a hex RGB value, a decimal RGB value, and a decimal RGBA value.


What is the CSS for text stroke?

There isn't an easy way to do it, since there is no stroke property.


Which CSS property can be used to configure italic text?

Use font-style: italic


What are Two components of CSS rules?

CSS rules are comprised of two components: the property and the value. The property is what you are wanting to change and the value is what you are setting the property to be. For example: p { font-family: Arial; color: #FFFF00; } In the example, font-family and color are the properties we are changing. For font-family, we are setting it to the value of Arial (meaning we want the text of our paragraphs to be displayed using the Arial typeface). For color, we are setting the value as the hexadecimal color #FFFF00 (yellow).


How do you change font color on your email letter?

set the color:#000000; property in css to change the color of the font.


How do you write the CSS and HTML code for an embedded style sheet that configures a background color of?

<style type="text/css" media=screen> body{ background-color: gray;} </style>


What is a CSS property?

CSS PropertyCSS Properties define what aspect of the selector will be changed or styled. (ie. In this example, Color is the CSS Property that will be changed to black: "color:black;".)


Which property is used to change the font of an element in css?

Using CSS, you can change the background color using the background-color property.To set the body background in an HTML document, you'd use code that looked like this:body { background-color: rgb ( 255, 255, 255 ); }which would set the color to white.You can use any CSS color definition, a named color, a hexadecimal value, rgb, or rgba.


What is the code for a text stroke and fill color for a CSS page?

Text stroke is HTML and is " " Fill color is "background-color" defined in the stylesheet, head or inline for the element in question.


What is transparency in HTML?

Transparency is an attribute of CSS in HTML. Any header or text can be put to transparent using this property.


Css code ul class?

to modify any HTML tag just type the tag as the css property eg. ul { /*your css here*/ }