Log in
Sign up for FREE
arrow_back
Library

1.3.4 HTML & CSS Web Technologies

star
star
star
star
star
Last updated 7 months ago
17 questions
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Question 1
1.

Question 2
2.

Write an HTML tag to set the background color of a web page to red using inline CSS.

Question 3
3.

Question 4
4.

Question 5
5.

Question 6
6.

What is the purpose of the <link> element in HTML?

Question 7
7.

Which CSS property changes the background of an element?

Question 8
8.

In HTML, which attribute of the <img> tag is necessary for accessibility?

Question 9
9.

What is the function of the <div> tag in HTML?

Question 10
10.

Draggable itemarrow_right_altCorresponding Item
arrow_right_alt
arrow_right_alt
arrow_right_alt
arrow_right_alt
Question 11
11.

Draggable itemarrow_right_altCorresponding Item
arrow_right_alt
arrow_right_alt
arrow_right_alt
Question 12
12.

Draggable itemarrow_right_altCorresponding Item
arrow_right_alt
arrow_right_alt
arrow_right_alt
Question 13
13.

Draggable itemarrow_right_altCorresponding Item
arrow_right_alt
arrow_right_alt
arrow_right_alt
Question 14
14.

Question 15
15.

Question 16
16.

Question 17
17.

What is the HTML tag used to embed an image in a webpage?
<src>
<img>
<alt>
<media>
The 'href' attribute in the '<a>' tag is used to link a section on the same page.
True
False
Which HTML tag defines a horizontal line?
<hr>
<br>
<header>
<line>
What CSS property is used to specify the border color?
margin-color
border-style
border-width
border-color
Match the HTML tag with its description.
<form>
Used for inserting images
<ul>
Defines a section containing form elements
<img>
Used for creating hyperlinks
<a>
Creates an unordered list
Match the CSS property with its purpose.
border-width
Defines the font size of the text
font-size
Sets the background colour of elements
background-color
Sets the width of the border
Pair each HTML element with its corresponding closing tag.
<title>
</p>
<p>
</div>
<div>
</title>
Match the HTML attribute with its use.
href in <a>
Specifies alternative text to be displayed when image cannot be loaded
src in <img>
Specifies the URL of the linked page
alt in <img>
Specifies the path to the image
How to modify an HTML element's style directly using CSS code?
<div style="background-color: yellow;"></div>
<div background-color=yellow></div>
<p color: blue>Hello</p>
<p style="color: blue;">Hello</p>
Which elements are commonly used to structure the web page in HTML5?
<style>
<p>
<div>
<link>
How to define the source of an image and alternative text in HTML?
<img source="image.jpg" alternative="My image">
<img src="image.jpg" alt="My image">
<img alt="My image" src="image.jpg">
<img alternative="My image" source="image.jpg">
Which HTML tags are commonly used to form a list structure?
<a>
<div>
<ul>
<li>