What is the primary characteristic of an inline element in HTML?
It always forces a new line.
It cannot contain other HTML elements.
It only takes up as much width as its content needs.
It is used to create structural divisions in the document.
Which <meta> tag attribute is used to control the viewport settings for responsive web design?
name
content
charset
description
Which attribute is used to define a tooltip that appears when hovering over an image?
alt
hovertext
title
tooltip
What is the purpose of using the <div> tag in HTML?
<div>
To divide the page into sections
To create a table
To create a hyperlink
To display an image
Which of the following RGBA values represents a fully opaque blue color?
rgba(0, 0, 255, 1)
rgba(0, 0, 255)
rgba(0, 0, 255, 0)
rgba(0, 0, 255, 0.5)
What does 'favicon' stand for in the context of web development?
Favorite icon
File avatar icon
Formatted avatar icon
Fast loading icon
How can you improve keyboard navigation for users who cannot use a mouse?
Ensuring all interactive elements are reachable by using the 'Tab' key
Disabling all JavaScript functionality on the website
Using images for all text on the page
Using Flash animations for all interactive elements
What does the 'alt' attribute provide for an image in HTML?
Alternative text if the image fails to load
Image file format
Image dimensions
Copyright information
What is the correct HTML tag for creating a table?
What is the correct HTML tag for inserting a line break?