FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which is the value in this CSS?p {color:red;}
A
p
B
color
C
red
D
None of the above
Explanation: 

Detailed explanation-1: -a color name-like “red” a HEX value-like “#ff0000” an RGB value-like “rgb(255, 0, 0)"

Detailed explanation-2: -c) Declaration. d) Value. Explanation: In CSS, color:red is the declaration for an element saying that the given element has to apply a red color. Color is one of CSS property.

Detailed explanation-3: -Hue is a degree on the color wheel (from 0 to 360)-0 (or 360) is red, 120 is green, 240 is blue. Saturation is a percentage value; 0% means a shade of gray and 100% is the full color. Lightness is also a percentage; 0% is black, 100% is white.

Detailed explanation-4: -Out of the all given CSS syntax the correct one is pcolor:black; (Option 2). CSS selectors are used to “find” (or choose) the HTML elements to style. In CSS, the selector p refers to the HTML element you want to style: <p>. Black is the property value of color, which is a property.

There is 1 question to complete.