CSS Quizs Question & Answers – Specifying sizes, colors and files

Q 1 . Which of the following is not a attribute of the audio element?
A. controls
B. src
C. check
D. loop

Show Answer Answer:-C. check
Explanation Self-explainatory.

Q 2. 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>

Show Answer Answer:-A.
Explanation Self-explainatory.

Q 3. 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

Show Answer Answer:-C. file
Explanation Self-explainatory.

Q 4. 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

Show Answer daily Answer:-C.
Explanation Self-explainatory.

Q 5. Which of the following attribute specifies the URL of the linked resource?
A. src
B. link
C. rel
D. href

Show Answer daily Answer:-D. href
Explanation href attribute specifies the URL of the linked resource. A URL might be absolute or relative.

Q 6. Which of the following color has this value #ff0000?
A. blue
B. green
C. red
D. yellow

Show Answer Answer:-C. red
Explanation Self-explainatory.

Q 7. Which of the following is not an Absolute Unit?
A. px
B. em
C. pt
D. mm

Show Answer Answer:-B. em
Explanation em is a Relative Unit

Q 8. Which of the following unit represent the viewport’s width?
A. vh
B. vmin
C. vw
D. ch

Show Answer Answer:-C. vw
Explanation Self-explainatory.

Q 9. 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

Show Answer Answer:-D. all of the mentioned
Explanation background: background-color background-image background-repeat background-attachment background- position

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page