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
12 questions
CyberSmarts: 10-Minute Cybersecurity Challenge
Worksheet
•
Professional Development
20 questions
Exploring AI Tools for Educators
Worksheet
•
Professional Development
10 questions
Data Analysis Vocabulary
Worksheet
•
Professional Development
20 questions
SOHO Router and Security Practices Quiz
Worksheet
•
Professional Development
20 questions
MSBTE Quiz
Worksheet
•
Professional Development
10 questions
E-LEARNING
Worksheet
•
Professional Development
15 questions
DECI - WEEK#7 - Time Machine
Worksheet
•
Professional Development
20 questions
Prelim: Networking II
Worksheet
•
Professional Development
