Why is it important to use HTML entities for displaying characters like '<' and '>' in text content?
To prevent them from being interpreted as HTML tags
To improve the visual appearance of the text
To reduce the file size of the HTML document
To make the text more accessible to screen readers
Which tag is used to create a numbered list?
Is it a good practice to use comments for minifying HTML code?
Comments have no impact on the minification process.
Yes, comments are essential for minification.
No, comments are typically removed during minification.
Minification tools automatically use comments to optimize code.
What does the 'A' in RGBA color values stand for?
Alpha
Alternative
Amount
Angle
Which attribute is used to apply inline styles to an HTML element?
id
style
font
class
What is the primary difference between HTML and XHTML?
XHTML enforces stricter syntax rules than HTML.
XHTML is a newer version of HTML with more features.
There is no difference; they are the same thing.
HTML is for web pages, while XHTML is for XML documents.
Can you nest HTML comments within each other?
It depends on the browser being used.
Yes, but only one level of nesting is allowed.
Yes, you can nest comments indefinitely.
No, nested comments are not allowed in HTML.
How can you create a clickable image that acts as a hyperlink in HTML?
Use the 'link' attribute in the <img> tag.
Place the <a> tag inside the <img> tag.
Use the 'href' attribute in the <img> tag.
Place the <img> tag inside an <a> tag.
What is the correct HTML for creating a text input field?
Which tag is semantically appropriate for marking up the copyright information and author details typically found at the bottom of a webpage?