prepare for national certification
Q: Consider the following code from a CSS document:
body {color: teal; font: white;}
This code is an example of what?
A
A rule
B
A property
C
A selector
D
A value - ✔✔✔A
Q: Which attribute should you use with the <img> tag to specify the text to display if a user has
configured his or her browser not to display images?
A
The src attribute
B
The text attribute
C
,The alt attribute
D
The style attribute - ✔✔✔C
Q: What color does the hexadecimal value #000000 represent?
A
Black
B
Brown
C
White
D
Violet - ✔✔✔A
Q: What color does the mixture of red, green and blue light on a monitor screen produce?
A
Black
B
White
C
, Brown
D
Violet - ✔✔✔B
Q: Which of the following can be considered a disadvantage of the Portable Network Graphics (PNG)
format?
A
The PNG format does not support transparency and interlacing.
B
The PNG format uses lossless compression.
C
The compression used in the PNG format is not copyrighted.
D
Older browsers do not render the PNG format. - ✔✔✔D
Q: The browser-safe color palette is a standard of 216 colors that:
A
are not defined by RGB values or hexadecimal code.
B
are defined for use in HTML5 but are not backward-compatible to earlier versions of HTML.
C