
HTML and CSS
Quiz by Mrs Grimmond
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
20 questions
Show answers
- Q1Which HTML tag is used to define an internal style sheet?30s
- Q2Which CSS property is used to change the text color of an element?font-colorcolor-textcolortext-color30s
- Q3What is the purpose of the 'alt' attribute in an
tag?
To specify the image's URLTo set the image's heightTo provide alternative text for the imageTo link the image to another website30s - Q4Which of the following is the correct HTML element for the largest heading?30s
- Q5Which property is used to change the background color of an element in CSS?color-backgroundbackground-colorbackgroundbgcolor30s
- Q6What HTML attribute is used to specify an inline style?cssstyleidclass30s
- Q7Which of the following CSS selectors will select all
elements inside a
element?div#pdiv pdiv+pdiv.p30sQ8What does the tag in HTML typically refer to?Defining metadataCreating scriptsLinking external resources like stylesheetsEmbedding images30sQ9Which CSS property is used to change the font of an element?text-fontfont-familyfont-stylefont-type30sQ10Which HTML element is used to create an unordered list?30sQ11Which HTML tag is used to define an unordered list?30sQ12What attribute is used to specify a unique identifier for an HTML element?classidnamestyle30sQ13Which HTML tag is used to create a hyperlink?30sQ14Which HTML tag is used to define an image?30sQ15Which HTML element is used to define the head section of a document?30s