answersLogoWhite

0

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.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

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

ds,j css


What is the difference between base font and font tag?

Base font is an HTML tag that specifies the font you want to use throughout your document: <basefont face="arial, verdana, courier" size="4" color="green"> In this example the browser of the user will select the first available font of the list to display the text. The font tag is an older HTML tag but is no longer recommended although it still works. This is an example of its use: <p> <font size="3" face="verdana" color="blue"> This paragraph is in Verdana, size 3, and in blue text color. </font> </p> This is the Wikipedia explanation for tag: In the HTML syntax, most elements are written with a start tag and an end tag, with the content in between. Tags are composed of the name of the element, surrounded by angle brackets. An end tag also has a slash after the opening angle bracket, to distinguish it from the start tag. For example, a paragraph, which is represented by the p element, would be written as


Which CSS property can be used to configure italic text?

Use font-style: italic


What is the use of Web Font in HTML?

Web font helps to change the font of the content in a web page. It can be used to style the page in the website.


What does values mean in HTML?

The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. <font face="arial">This is arial font</font> ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)

Related Questions

What is the declaration property used to set the font typeface for an area of a webpage?

The font-family property is used to set the font typeface for an area of a webpage through CSS. It specifies the prioritized list of font family names and/or generic family names for the selected element. This property allows you to define the style of the text in terms of the font to be used.


What font property is used to modify font color?

Most word processing programs worth having have the ability to change Font Colour in the same part of the icon bar as Font Size, Font Family, Underline, Bold, etc.


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

ds,j css


What is the difference between base font and font tag?

Base font is an HTML tag that specifies the font you want to use throughout your document: <basefont face="arial, verdana, courier" size="4" color="green"> In this example the browser of the user will select the first available font of the list to display the text. The font tag is an older HTML tag but is no longer recommended although it still works. This is an example of its use: <p> <font size="3" face="verdana" color="blue"> This paragraph is in Verdana, size 3, and in blue text color. </font> </p> This is the Wikipedia explanation for tag: In the HTML syntax, most elements are written with a start tag and an end tag, with the content in between. Tags are composed of the name of the element, surrounded by angle brackets. An end tag also has a slash after the opening angle bracket, to distinguish it from the start tag. For example, a paragraph, which is represented by the p element, would be written as


Which CSS property can be used to configure italic text?

Use font-style: italic


What is the use of Web Font in HTML?

Web font helps to change the font of the content in a web page. It can be used to style the page in the website.


What does values mean in HTML?

The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. <font face="arial">This is arial font</font> ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)


How do you change the font of a bulleted number in Pages on a Mac?

The font used for the numbers in a Pages numbered bullet point list is set as the same as the text in the list. To change this you can create a list item in the font required for the numbers and then replace the font for the text with your normal font.


What option allows you to change the font color font type and heading styles for a cell's content?

The <style> tag can be used for changing font color and type. It can be used internally or in in-line too.


What dialog box is used to change the scale character?

Font


All tags and its attributes with example in HTML?

A start tag will contain the content followed by the end tag The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. This is arial font ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)


What font is used in the NCAA logo?

The font that is used in the NCAA logo is called Aquarius No. 8. This font is one that has to be purchased, and does not come pre-installed as a font. This font closely resembles that font that is used on the Twitter website.