NEW
Font size
WorksheetsWilkam Bak HAHAHAHAHa
Total questions: 30
Worksheet time: 15mins
What does HTML stand for?
Hyper Tool Markup Language
Hyperlinks and Text Markup Language
Hypertext Markup Language
Home Tool Markup Language
What does CSS stand for?
Computer Style Sheet
Creative Style System
Colorful Style Sheet
Cascading Style Sheet
What is the main difference between an HTML element and an HTML tag?
Tags are used in CSS, elements are used in HTML
An element includes the opening tag, content, and closing tag; a tag is just the markup
There is no difference
Elements are newer than tags
Which of the following is a block-level element?
<span>
<img>
<a>
<div>
Which of the following is an inline element?
<p>
<span>
<div>
<h1>
What is the primary purpose of the <div> element?
To create hyperlinks
To display images
To group and contain other elements as a container
To create lists
Which element is used to create a line break in HTML?
<break>
<lb>
<br>
<line>
What type of list uses numbers or letters for its items?
Unordered list (<ul>)
Definition list (<dl>)
Ordered list (<ol>)
Bulleted list
Which HTML tag is used to display an image?
<picture>
<img>
<image>
<src>
What attribute is required to specify the image source in an <img> tag?
href
link
source
src
Which heading tag creates the largest heading?
<h6>
<h3>
<h1>
<heading>
What is the correct HTML tag for creating a paragraph?
<paragraph>
<text>
<p>
<para>
Block-level elements typically:
Stay inline with other content
Only contain text
Start on a new line and take up the full width available
Cannot contain other elements
Inline elements typically:
Start on a new line
Take up the full width of their container
Cannot be styled with CSS
Only take up as much width as necessary
What does Flexbox stand for?
Flexible Box Layout
Fixed Box Layout
Flex Binary Exchange
Flexible Border Extension
Flexbox is a layout model that works in:
Three dimensions
Two dimensions simultaneously
One dimension at a time (either row or column)
Four dimensions
Which CSS property is used to create a flex container?
flex-container: true;
display: flex;
flexbox: on;
container: flex;
Flexbox is particularly useful for:
Creating databases
Server-side programming
Responsive design
Writing JavaScript
Which tag is used to create an unordered (bulleted) list?
<ol>
<list>
<ul>
<bullet>
What tag is used for individual list items in both ordered and unordered lists?
<item>
<list>
<bullet>
<li>
Which of these is NOT a text-related element?
<h1>
<div>
<p>
<strong>
The <br> tag is:
A block-level element that needs a closing tag
A self-closing inline element
Used to create bold text
Used to create links
To make text bold in HTML, you can use:
<italic>
<bold>
<strong>
<weight>
To make text italic in HTML, you can use:
<slant>
<em>
<italic>
<tilt>
What is the correct way to link to an external CSS file in HTML?
<style src="style.css">
<css>style.css</css>
<stylesheet>style.css</stylesheet>
<link rel="stylesheet" href="style.css">
In Flexbox, the main axis direction can be changed using:
flex-axis
main-direction
flex-direction
direction-flex
Which property is used to align flex items along the main axis?
align-items
justify-content
flex-align
main-align
Which HTML element is used to create a hyperlink?
<link>
<href>
<url>
<a>
What attribute is used in the <a> tag to specify the link destination?
src
link
href
url
Which is true about the alt attribute in the <img> tag?
It's optional and only for decoration
It's required and provides alternative text if the image cannot be displayed
It specifies the image size
It links the image to another page
