Welcome to your HTML/CSS Programming MCQ
1.
Which property is used to change the font of an element?
Which property is used to change the font of an element?
2.
How do you make each word in a text start with a capital letter?
How do you make each word in a text start with a capital letter?
3.
What is the correct HTML for inserting an image?
What is the correct HTML for inserting an image?
4.
What is the correct HTML for adding a background color?
What is the correct HTML for adding a background color?
5.
How can you make a text bold in HTML?
How can you make a text bold in HTML?
6.
Which HTML tag is used to define an internal style sheet?
Which HTML tag is used to define an internal style sheet?
7.
How do you select an element with id "demo"?
How do you select an element with id "demo"?
8.
Which CSS property is used to change the text color of an element?
Which CSS property is used to change the text color of an element?
9.
What is the correct HTML for creating a hyperlink?
What is the correct HTML for creating a hyperlink?
10.
How can you make a numbered list?
How can you make a numbered list?
11.
How do you select all p elements inside a div element?
How do you select all p elements inside a div element?
12.
Which property is used to change the background color in CSS?
Which property is used to change the background color in CSS?
13.
How can you make an image clickable?
How can you make an image clickable?
14.
How can you make a bulleted list?
How can you make a bulleted list?
15.
How do you make a list that lists its items with squares?
How do you make a list that lists its items with squares?
16.
What is the correct HTML element for the largest heading?
What is the correct HTML element for the largest heading?
17.
How can you make a dropdown list?
How can you make a dropdown list?
18.
How do you add a background color for all h1 elements?
How do you add a background color for all h1 elements?
19.
How can you open a link in a new tab/browser window?
How can you open a link in a new tab/browser window?
20.
How do you select elements with class name "test"?
How do you select elements with class name "test"?
21.
Choose the correct HTML element to define important text
Choose the correct HTML element to define important text
22.
Which of these input types defines a slider control?
Which of these input types defines a slider control?
23.
Which of these elements are all table elements?
Which of these elements are all table elements?
24.
How do you display hyperlinks without an underline?
How do you display hyperlinks without an underline?
25.
What is the correct HTML element for inserting a line break?
What is the correct HTML element for inserting a line break?
26.
Which CSS property controls the text size?
Which CSS property controls the text size?
27.
What is the correct HTML for making a text area?
What is the correct HTML for making a text area?
28.
Which HTML element is used to specify a footer for a document or section?
Which HTML element is used to specify a footer for a document or section?
29.
What does HTML stand for?
What does HTML stand for?
30.
Which character is used to indicate an end tag in HTML?
Which character is used to indicate an end tag in HTML?