12 Questions
What is the CSS property used to control the space between lines of text?
line-height
How do you select an element with id 'example' in CSS?
#example
What is the default value of the position property in CSS?
static
Which CSS property is used to make text bold?
font-weight
What does the CSS property 'display: none;' do?
Hides the element
Which CSS property is used to add shadows to elements?
box-shadow
What is the purpose of the title attribute in HTML?
To provide additional information about an element
What is the correct HTML for creating a checkbox?
What is the purpose of the tag in HTML?
To define the main content of an HTML document
What does the tag do in HTML?
Defines metadata about an HTML document
What is the purpose of the color property in CSS?
To change the text color of an element
How do you add comments in CSS?
/* This is a comment */
Test your knowledge of HTML fundamentals with this quiz, covering topics such as HTML tags, semantic elements, and attributes. See how well you understand the basics of HTML!
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free