NEW
Font size
WorksheetsMastering HTML5 and CSS
Total questions: 15
Worksheet time: 8mins
What does HTML stand for?
HighText Markup Language
HyperText Markup List
HyperText Multi Language
HyperText Markup Language
Which HTML element is used to define the title of a document?
What is the purpose of the
tag in HTML?The
tag is for defining the layout of the webpage.The
tag is used to display the main content of the page.The
tag is used to contain meta-information about the HTML document.The
tag is used to include images and videos in the document.How do you create a hyperlink in HTML?
What does CSS stand for?
Cascading Style Scripts
Cascading Style Sheets
Cascading System Styles
Creative Style Sheets
Which property is used to change the background color in CSS?
background-style
bg-color
background-color
color-background
How can you apply CSS styles to an HTML element?
By modifying the HTML structure instead of using CSS
Only through inline styles
CSS styles can be applied using inline styles, internal stylesheets, or external stylesheets.
Using JavaScript to apply styles directly
What is the difference between class and ID selectors in CSS?
Class selectors are always unique, while ID selectors can be reused.
Class selectors are defined with @media, while ID selectors use @import.
Class selectors (.) can be used multiple times, while ID selectors (#) must be unique.
ID selectors are used for styling text, while class selectors are for layout.
What HTML tag is used to define an unordered list?
How do you insert an image in HTML?
What is the purpose of the
The
The
The
The
How can you center a block element using CSS?
Set the element's width and use 'margin: auto;'
Set the element's height and use 'padding: auto;'
Use 'display: flex;' and align items to the center
Apply 'float: left;' to the element and set a fixed width
What is the default display value of a
grid
block
flex
inline
How do you create a responsive design using CSS?
Use CSS Grid or Flexbox for layout, media queries for responsiveness, and relative units for sizing.
Use only fixed pixel sizes for layout.
Avoid using media queries altogether.
Rely solely on JavaScript for responsive design.
What is the purpose of the tag in HTML?
To define the structure of the HTML document.
To link external CSS stylesheets.
To provide metadata about the HTML document.
To create interactive elements in the document.
Similar Resources on Wayground
19 questions
EAC Christmas Quiz
Worksheet
•
Professional Development
15 questions
Network Security and Protocols Quiz
Worksheet
•
Professional Development
10 questions
Post Test - Good Project Management for Aggressive Organization
Worksheet
•
Professional Development
11 questions
TIK KELAS 4
Worksheet
•
Professional Development
10 questions
Rabbitleap - Tailwind Review
Worksheet
•
Professional Development
12 questions
Cyber Ethics and Intellectual Property Quiz
Worksheet
•
Professional Development
10 questions
WARM UP 2026,DAY 1,BREAK 2
Worksheet
•
Professional Development
16 questions
Scorevision Cloud Basics Quiz
Worksheet
•
Professional Development
