These are the latest question answer for HTLM & CSS in 2024-
- CSS stands for –
Cascade style sheets
Color and style sheets
Cascading style sheets
None of the above
Answer: (c) Cascading style sheets
- Which of the following is the correct syntax for referring the external style sheet?
example.css
Answer: (d)
3) The property in CSS used to change the background color of an element is –
bgcolor
color
background-color
All of the above
Answer: (c) background-color
4) The property in CSS used to change the text color of an element is –
bgcolor
color
background-color
All of the above
Answer: (b) color
5) The CSS property used to control the element’s font-size is –
text-style
text-size
font-size
None of the above
Answer: (c) font-size
6) The HTML attribute used to define the inline styles is –
style
styles
class
None of the above
Answer: (a) style
7) The HTML attribute used to define the internal stylesheet is –
style
Answer: (a)
8) Which of the following CSS property is used to set the background image of an element?
background-attachment
background-image
background-color
None of the above
Answer: (b) background-image
9) Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?
p {background-color : yellow;}
p {background-color : #yellow;}
all {background-color : yellow;}
all p {background-color : #yellow;}
Answer: (a) p {background-color : yellow;}
10) Which of the following is the correct syntax to display the hyperlinks without any underline?
a {text-decoration : underline;}
a {decoration : no-underline;}
a {text-decoration : none;}
None of the above
Answer: (c) a {text-decoration : none;}
For More Information visit
[NEXT G CLASSES](https://nextgclasses.com)
Contact us +91-8287540705
For More Information visit
https://nextgclasses.com/
Contact us +91-8287540705
Next G Classes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.