Font size
WorksheetsHTML and CSS Quiz 2023
Total questions: 20
Worksheet time: 13mins
What does HTML stand for?
Hyper Transfer Markup Language
HyperText Markup Language
High-Tech Multimedia Language
Hyperlink Text Management Language
What does CSS stand for?
Cascading Style Scripts
Creative Style Sheets
Cascading Style Sheets
Computer Style Selections
How can you control the font size in CSS?
Using the `font-style` property
Using the `font-size` property
Using the `text-transform` property
Using the `font-family` property
How can you change the width and height of elements in CSS?
Using the `width` and `height` properties
Using the `color` property
Using the `text-align` property
Using the `margin` property
What are classes and IDs used for in HTML and CSS?
Adding comments to the code
Applying styles to specific elements
Creating hyperlinks
Changing the font color
Which HTML tag is used to create a hyperlink?
- a) `<link>`
- b) `<href>`
- c) `<a>`
- d) `<url>`
Write HTML code to create an ordered (numbered) list with three items and explain how it works.
How can you make text appear in italics using CSS?
font-weight: italic;
font-style: italic;
text-decoration: italic;
font-variant: italic;
Which CSS property allows you to control the space inside an element, between its content and its border?
margin
padding
border
width
Which HTML heading element represents the highest level of importance?
- a) `<h1>`
- b) `<h2>`
- c) `<h3>`
- d) `<h4>`
How can you make a background image cover the entire container in CSS?
background-size: contain;
background-size: cover;
background-size: 100%;
background-size: auto;
Which HTML tag is used to display images?
- a) `<img>`
- b) `<picture>`
- c) `<image>`
- d) `<imgsrc>`
What is the purpose of the <head> tag in HTML?
The purpose of the
tag in HTML is to define the navigation section of the HTML document.The purpose of the
tag in HTML is to define the footer section of the HTML document.The purpose of the
tag in HTML is to define the head section of the HTML document.The purpose of the
tag in HTML is to define the body section of the HTML document.How can you change the color of text using CSS?
'font-color' property
'text-color' property
'color' property
'background-color' property
What is the purpose of the <body> tag in HTML?
The purpose of the
tag in HTML is to define the header of an HTML document.The purpose of the
tag in HTML is to define the navigation menu of an HTML document.The purpose of the
tag in HTML is to define the footer of an HTML document.The purpose of the
tag in HTML is to define the main content of an HTML document.How can you center align text using CSS?
text-align: left;
text-align: right;
text-align: justify;
text-align: center;
How can you center align text using CSS?
text-align: right;
text-align: center;
text-align: justify;
text-align: left;
What is the difference between HTML and CSS?
HTML is used for styling and layout, while CSS is used for structuring content.
HTML is used for structuring content, while CSS is used for styling and layout.
HTML and CSS are the same thing.
HTML is used for creating dynamic web pages, while CSS is used for static web pages.
How can you add a background color to an HTML element?
By using the CSS 'color' property.
By using the CSS 'background-image' property.
By using the HTML 'background' attribute.
By using the CSS 'background-color' property.
What is the purpose of the <div> tag in HTML?
The purpose of the
The purpose of the
The purpose of the
The purpose of the
Similar Resources on Wayground
15 questions
ASJ_XII_UH1
Worksheet
•
1st - 12th Grade
23 questions
Year 8 January review
Worksheet
•
8th Grade
15 questions
digital graphics
Worksheet
•
6th - 8th Grade
15 questions
Cyber Security Homework 1
Worksheet
•
7th - 9th Grade
17 questions
Lessons 1-5 Test Review
Worksheet
•
8th Grade
15 questions
G8_Ch2_Windows Movie Maker
Worksheet
•
8th Grade
20 questions
2nd Qtr Exam Review Game!
Worksheet
•
6th - 8th Grade
15 questions
IT quiz class 7 E-commerce and blogging
Worksheet
•
6th - 7th Grade
