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