1.3.4 HTML & CSS Web Technologies
star
star
star
star
star
Last updated 2 months ago
17 questions
1
What is the HTML tag used to embed an image in a webpage?
What is the HTML tag used to embed an image in a webpage?
1
Write an HTML tag to set the background color of a web page to red using inline CSS.
Write an HTML tag to set the background color of a web page to red using inline CSS.
1
The 'href' attribute in the '<a>' tag is used to link a section on the same page.
The 'href' attribute in the '<a>' tag is used to link a section on the same page.
1
Which HTML tag defines a horizontal line?
Which HTML tag defines a horizontal line?
1
What CSS property is used to specify the border color?
What CSS property is used to specify the border color?
1
What is the purpose of the <link> element in HTML?
What is the purpose of the <link> element in HTML?
1
Which CSS property changes the background of an element?
Which CSS property changes the background of an element?
1
In HTML, which attribute of the <img> tag is necessary for accessibility?
In HTML, which attribute of the <img> tag is necessary for accessibility?
1
What is the function of the <div> tag in HTML?
What is the function of the <div> tag in HTML?
1
Match the HTML tag with its description.
Match the HTML tag with its description.
| Draggable item | arrow_right_alt | Corresponding Item |
|---|---|---|
<a> | arrow_right_alt | Used for inserting images |
<img> | arrow_right_alt | Defines a section containing form elements |
<form> | arrow_right_alt | Used for creating hyperlinks |
<ul> | arrow_right_alt | Creates an unordered list |
1
Match the CSS property with its purpose.
Match the CSS property with its purpose.
| Draggable item | arrow_right_alt | Corresponding Item |
|---|---|---|
font-size | arrow_right_alt | Defines the font size of the text |
background-color | arrow_right_alt | Sets the background colour of elements |
border-width | arrow_right_alt | Sets the width of the border |
1
Pair each HTML element with its corresponding closing tag.
Pair each HTML element with its corresponding closing tag.
| Draggable item | arrow_right_alt | Corresponding Item |
|---|---|---|
<p> | arrow_right_alt | </p> |
<div> | arrow_right_alt | </div> |
<title> | arrow_right_alt | </title> |
1
Match the HTML attribute with its use.
Match the HTML attribute with its use.
| Draggable item | arrow_right_alt | Corresponding Item |
|---|---|---|
src in <img> | arrow_right_alt | Specifies alternative text to be displayed when image cannot be loaded |
alt in <img> | arrow_right_alt | Specifies the URL of the linked page |
href in <a> | arrow_right_alt | Specifies the path to the image |
1
How to modify an HTML element's style directly using CSS code?
How to modify an HTML element's style directly using CSS code?
1
Which elements are commonly used to structure the web page in HTML5?
Which elements are commonly used to structure the web page in HTML5?
1
How to define the source of an image and alternative text in HTML?
How to define the source of an image and alternative text in HTML?
1
Which HTML tags are commonly used to form a list structure?
Which HTML tags are commonly used to form a list structure?