1.3.4 HTML & CSS Web Technologies

Last updated 2 months ago
17 questions
1

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.

1

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?

1

What CSS property is used to specify the border color?

1

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

1

Which CSS property changes the background of an element?

1

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

1

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

1

Match the HTML tag with its description.

Draggable itemCorresponding Item
<a>
Used for inserting images
<img>
Defines a section containing form elements
<form>
Used for creating hyperlinks
<ul>
Creates an unordered list
1

Match the CSS property with its purpose.

Draggable itemCorresponding Item
font-size
Defines the font size of the text
background-color
Sets the background colour of elements
border-width
Sets the width of the border
1

Pair each HTML element with its corresponding closing tag.

Draggable itemCorresponding Item
<p>
</p>
<div>
</div>
<title>
</title>
1

Match the HTML attribute with its use.

Draggable itemCorresponding Item
src in <img>
Specifies alternative text to be displayed when image cannot be loaded
alt in <img>
Specifies the URL of the linked page
href in <a>
Specifies the path to the image
1

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?

1

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?