NEW
Font size
WorksheetsHTML Mastery
Total questions: 16
Worksheet time: 8mins
What is the purpose of HTML elements?
HTML elements are designed to play audio files directly in the browser.
The purpose of HTML elements is to generate revenue for website owners.
The purpose of HTML elements is to define the structure and content of a web page.
HTML elements are used for creating animations on a web page.
Give an example of a block-level HTML element.
Explain the difference between HTML tags and attributes.
HTML tags are used for styling content, while attributes are used for adding functionality.
HTML tags define the color of content, while attributes define the font size.
HTML tags provide additional information about the content, while attributes define the structure.
HTML tags define the structure of content, while attributes provide additional information about the tags.
What is the role of the 'href' attribute in HTML?
The 'href' attribute defines the width of an image.
The 'href' attribute specifies the background color of the element.
The 'href' attribute changes the font size of the text.
The 'href' attribute specifies the URL of the page the link goes to.
How can you create a text input field in an HTML form?
What is the function of the 'action' attribute in an HTML form?
It changes the font style of the form text.
It determines the background color of the form.
It specifies the URL where the form data should be submitted.
It specifies the size of the form fields.
Describe the structure of a basic HTML document.
A basic HTML document structure includes
A basic HTML document structure includes ,
, and tags.A basic HTML document structure includes
A basic HTML document structure includes
What is the purpose of the 'alt' attribute in an image tag?
To add a border around the image
To change the image size
To specify the image alignment
To provide alternative text for the image
How can you create a dropdown list in an HTML form?
Use
Use and
Use
