WEB BROWSERS TECHNOLOGY
WHAT IS WEB TECHNOLOGY
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
a {color:blue;}
|
|
p {font-size:10px;}
|
|
body {background-color="red";}
|
|
img {width:100%;}
|
Detailed explanation-1: -Background-color values can be expressed in hexadecimal values such as #FFFFFF, #000000, and #FF0000. Background-color values can be expressed using rgb such as rgb(255, 255, 255), rgb(0, 0, 0), and rgb(255, 0, 0). Background-color values can be expressed as named colors such as white, black, and red.
Detailed explanation-2: -With CSS, a color is most often specified by: a valid color name-like “red” a HEX value-like “#ff0000” an RGB value-like “rgb(255, 0, 0)"
Detailed explanation-3: -Expert-Verified Answer Out of the all given CSS syntax the correct one is pcolor:black; (Option 2).
Detailed explanation-4: -The correct answer to this question “What is the correct HTML for adding a background color” is option (b). <body bgcolor = “green”>. This is the correct HTML command that is used for adding a background color of choice.