NEW
Font size
WorksheetsHTML Basics
Total questions: 15
Worksheet time: 8mins
What does HTML stand for?
HyperText Markdown Language
HyperText Markup Language
Hyperlink Text Markup Language
HighTech Markup Language
What is the basic structure of an HTML document?
The basic structure of an HTML document includes ,
, and tags.What is the purpose of HTML attributes?
To play music on a webpage
To change the font color of text
To provide additional information about an element
To display images in a slideshow
How do you create a hyperlink in HTML?
Explain the difference between absolute and relative URLs.
Absolute URLs contain the full address of a resource, including the protocol, domain name, and path. Relative URLs only specify the path to the resource relative to the current page's URL.
Absolute URLs are always longer than relative URLs
Relative URLs contain the full address of a resource
Absolute URLs are used for internal links only
What is the tag used for in HTML?
To display an image
To change font styles
To play audio files
To create a table
How do you add an image to your HTML page?
Utilize the
Use the tag with the 'src' attribute to specify the image file path.
Use the
Insert the image directly into the text without any tags.
What is the tag used for in HTML?
To create hyperlinks
To change font color
To create tables
To insert images
How do you open a link in a new tab?
Left-click on the link and press 'Ctrl + T'
Right-click on the link and select 'Open link in new tab'
Copy the link and paste it in a new tab
Double-click on the link
What is the target attribute in HTML links?
_top
_self
_parent
_blank
Explain the use of the href attribute in HTML links.
The href attribute in HTML links specifies the font size of the text.
The href attribute in HTML links specifies the URL of the page the link goes to.
The href attribute in HTML links specifies the color of the text.
The href attribute in HTML links specifies the background image of the page.
What is the difference between internal and external links?
Internal links are for mobile devices only, while external links are for desktop computers.
Internal links are free to use, while external links require a subscription.
Internal links point to pages within the same website, while external links point to pages on a different domain.
Internal links are always secure, while external links are prone to hacking.
How do you create a mailto link in HTML?
What is the purpose of the alt attribute in an tag?
To add a border around the image
To specify the image source URL
To change the image size
To provide alternative text for the image in case it cannot be displayed
