1. Which of the following is not an Absolute Unit?
a) px
b) em
c) pt
d) mm
Explanation: em is a Relative Unit
2. Which of the following unit represent the viewport’s width?
a) vh
b) vmin
c) vw
d) ch
Explanation: vw
3. Which of the following property sets in a shorthand form any or all background properties?
a) color
b) wrap
c) background
d) all of the mentioned
Explanation: Syntax:
background: background-color
4. Which of the following Color Format can also be defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them?
a) RGB Color
b) RGBa Color
c) HSL Color
d) HSLa Color
Explanation: Example: p {color:rgb(0%,10%,50%);}
5. Which of the following is not a attribute of the audio element?
a) controls
b) src
c) check
d) loop
Explanation: check
6. Which of the following element is used to specify multiple media resources for media elements like audio and video?
a) <source>
b) <link>
c) <script>
d) <src>
Explanation: <source>
7. Which of the following Protocol enables a hyperlink to access a file on the local file system?
a) https
b) ftp
c) file
d) telnet
Explanation: file
8. Which of the following element is used for linking a External Files to the html page?
a) <script>
b) <style>
c) <link>
d) all of the above
Explanation: <link>
9. Which of the following attribute specifies the URL of the linked resource?
a) src
b) link
c) rel
d) href
Explanation: href attribute specifies the URL of the linked resource. A URL might be absolute or relative.
10. Which of the following color has this value #ff0000?
a) blue
b) green
c) red
d) yellow
Explanation: red