Computer Science, asked by raviyadav110, 9 months ago

name the different software with have used to provide with an option to change the background colour and the text colour

Answers

Answered by kirantiwari938
0

Answer:

the CSS example below, we are setting the body to have a background color of black by adding "background-color: #000;" in the body block. Because the background color is black, the text color must also change, or it will not be seen. So, we are setting the text color to white by adding "color:#fff;" into the block.

body {

font-family:Helvetica,Arial,sans-serif;

background-color:#000;

color:#fff;

}

If your page is not using CSS or you don't want to convert to CSS, below are the steps on how to do this in the BODY tag in the HTML code. However, as mentioned earlier we highly recommend using the above CSS code instead of the body tag. If you use CSS styling, you can change the background-color values once, and the changes will be automatically applied to all HTML elements using that style.

HTML body tag example

In some very rare situations, it may not be possible to use CSS. For those situations, you can also define the background color, text color, link color, and other values in the HTML body tag as shown below.

<BODY TEXT="#092d07" LINK="#1FOOFF" VLINK= "#000000" ALINK="#000000" BGCOLOR="#ffffff">

Below are the descriptions of each of the HTML attributes in the body tag.

TEXT = The color of text.

LINK = The color of links.

VLINK = Visited link color.

ALINK = Color of the active link, or the color the link changes to when clicked.

BGCOLOR = The page background color.

Similar questions