HTML and Web Pages Basics Quiz
Grade 5 · Technology · Quiz
Test your knowledge of HTML tags, page structure, and how web pages are built.
Questions
Which tag is used to create the largest heading on a web page?
- <heading>
- <h6>
- <h1>
- <title>
Show answer
Answer: <h1>
<h1> is the largest heading. Headings go from <h1> (biggest) to <h6> (smallest).
What is the correct way to write a closing tag for a paragraph?
- <p/>
- </p>
- <close p>
- p>
Show answer
Answer: </p>
Closing tags use a forward slash before the tag name, like </p>.
Which part of an HTML page contains information NOT shown directly on the page, like the page title?
- <body>
- <footer>
- <head>
- <main>
Show answer
Answer: <head>
The <head> section holds metadata like the page title, which appears in the browser tab but not on the page itself.
What does the href attribute do in an <a> tag?
- Sets the font color of the link text
- Specifies the URL the link points to
- Creates a new browser tab
- Defines the image to display
Show answer
Answer: Specifies the URL the link points to
The href attribute (short for hypertext reference) tells the browser where to navigate when the link is clicked.
Which tag is used to add an image to a web page?
- <picture>
- <photo>
- <image>
- <img>
Show answer
Answer: <img>
<img> is the correct HTML tag for embedding images. It is a self-closing tag that uses a src attribute for the image path.
What should appear at the very beginning of every HTML document?
- <head>
- <!DOCTYPE html>
- <html>
- <start>
Show answer
Answer: <!DOCTYPE html>
<!DOCTYPE html> must be the first line of an HTML document so the browser knows it is an HTML5 page.
HTML alone can make a web page interactive, like responding to a button click.
Show answer
Answer: False
HTML structures content but is not interactive on its own. JavaScript is needed for interactivity like button clicks.
The <b> tag makes text appear ________ on a web page.
Show answer
Answer: bold
The <b> tag makes text bold. The <i> tag makes text italic, and <u> makes text underlined.
Get a personalized course on HTML and Web Pages Basics built around your child.