Log in
Sign up for FREE
arrow_back
Library

1.3.4 HTML & CSS Web Technologies

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

What is the HTML tag used to embed an image in a webpage?

Question 2
2.

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

Question 3
3.

The 'href' attribute in the '<a>' tag is used to link a section on the same page.

Question 4
4.

Which HTML tag defines a horizontal line?

Question 5
5.

What CSS property is used to specify the border color?

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.

Match the HTML tag with its description.

Draggable itemarrow_right_altCorresponding Item
<img>
arrow_right_alt
Used for inserting images
<form>
arrow_right_alt
Defines a section containing form elements
<a>
arrow_right_alt
Used for creating hyperlinks
<ul>
arrow_right_alt
Creates an unordered list
Question 11
11.

Match the CSS property with its purpose.

Draggable itemarrow_right_altCorresponding 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
Question 12
12.

Pair each HTML element with its corresponding closing tag.

Draggable itemarrow_right_altCorresponding Item
<p>
arrow_right_alt
</p>
<div>
arrow_right_alt
</div>
<title>
arrow_right_alt
</title>
Question 13
13.

Match the HTML attribute with its use.

Draggable itemarrow_right_altCorresponding Item
alt in <img>
arrow_right_alt
Specifies alternative text to be displayed when image cannot be loaded
href in <a>
arrow_right_alt
Specifies the URL of the linked page
src in <img>
arrow_right_alt
Specifies the path to the image
Question 14
14.

How to modify an HTML element's style directly using CSS code?

Question 15
15.

Which elements are commonly used to structure the web page in HTML5?

Question 16
16.

How to define the source of an image and alternative text in HTML?

Question 17
17.

Which HTML tags are commonly used to form a list structure?