
HTML and CSS
Quiz by Hardik Vedikin
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
44 questions
Show answers
- Q1Which of the following is a correct way to select an element with class 'example' in CSS?@example$example#example.example30s
- Q2What does the CSS property 'margin' specify?The space around an elementThe position of an elementThe background color of an elementThe font size of an element30s
- Q3What does the CSS property 'color' define?The text color of an elementThe background color of an elementThe font size of an elementThe border color of an element30s
- Q4Which of the following is NOT a valid CSS selector?.selectorelement@selector#selector30s
- Q5Which of the following is used to add a background image in CSS?background-textbackground-colorbackground-stylebackground-image30s
- Q6Which of the following is NOT a block-level element in HTML?spansectionh1div30s
- Q7Which property is used to change the color of an HTML element?background-colorfont-colortext-colorcolor30s
- Q8Which HTML tag is used to define an unordered list?uldlliol30s
- Q9Which property is used to control the spacing between HTML elements?spacingborderpaddingmargin30s
- Q10Which CSS property is used to specify the font size of an element?font-sizefont-styletext-sizetext-size-adjust30s
- Q11What is the correct way to select an element with the ID 'example' in CSS?#example$example.exampleexample30s
- Q12Which CSS property is used to change the text color of an element?colorfont-familytext-alignbackground-color30s
- Q13Which CSS property is used to control the spacing between letters in a text?letter-spacingtext-decorationtext-transformline-height30s
- Q14What does the CSS property 'display: none;' do?It adds a border around the elementIt changes the font style of the elementIt makes the element visibleIt hides the element completely30s
- Q15Which CSS property is used to change the background color of an element?font-sizecolortext-alignbackground-color30s