Module 1: HTML Overview
Looking for ‘Introduction to HTML, CSS, & JavaScript Module 1 Answers’?
In this post, I provide complete, accurate, and detailed explanations for the answers to Module 1: HTML Overview of Course 5: Introduction to HTML, CSS, & JavaScript – IBM AI Developer Professional Certificate .
Whether you’re preparing for quizzes or brushing up on your knowledge, these insights will help you master the concepts effectively. Let’s dive into the correct answers and detailed explanations for each question!
Practice Quiz: HTML Overview
Practice Assignment
1. What are the building blocks of HTML called?
- Tags
- Nodes
- Elements ✅
- Attributes
Explanation:
HTML is composed of elements, which are the fundamental building blocks. Tags are used to define elements, but elements include the tag, content, and attributes.
2. Which tag is used to provide keywords for search engines?
- <title>
- <header>
- <meta> ✅
- <footer>
Explanation:
The <meta>
tag is used inside the <head>
section to provide metadata about the HTML document, including keywords, description, author, and viewport settings.
3. Fill in the blank: In HTML5, ______________ allow you to run processing intensive tasks without blocking the user interface.
- Non-blocking feeds
- DOM accessors
- Web workers ✅
- Structural elements
Explanation:
Web workers run scripts in background threads, enabling concurrent execution so the UI remains responsive even during heavy processing.
4. How do you properly recreate the following table using HTML code?

- <table> <tr> <td>Date</td> <td>Language</td> </tr> <tr> <th>2014</th> <th>HTML5</th> </tr> <tr> <th>1999</th> <th>CSS3</th> </tr> <tr> <th>1995</th> <th>JavaScript</th> </tr> </table>
- <table> <tr> <th>Date</th> <th>Language</th> </tr> <tr> <td>2014</td> <td>HTML5</td> </tr> <tr> <td>1999</td> <td>CSS3</td> </tr> <tr> <td>1995</td> <td>JavaScript</td> </tr> </table> ✅
- <table> <td> <th>Date</th> <th>Language</th> </td> <td> <tr>2014</tr> <tr>HTML5</tr> </td> <td> <tr>1999</tr> <tr>CSS3</tr> </td> <td> <tr>1995</tr> <tr>JavaScript</tr> </td> </table>
- <table> <tc> <th>Date</th> <th>Language</th> </tc> <tc> <td>2014</td> <td>HTML5</td> </tc> <tc> <td>1999</td> <td>CSS3</td> </tc> <tc> <td>1995</td> <td>JavaScript</td> </tc> </table>
Explanation:
Use <th>
for table headers and <td>
for regular data cells. Only the first row (headers) should use <th>
; others should use <td>
.
5. Which of the following statements about document.images is correct?
- document.images is a DOM property
- document.images returns a collection of image elements in a document
- document.images is part of the HTML document API
- All of the above ✅
Explanation:
document.images
is a DOM property- It returns a collection of
<img>
elements in the document - And it is part of the HTML document API
Graded Quiz: HTML Overview
Graded Assignment
6. Which of the following statements embeds an image in an HTML document?
- <image>link_to_image</image>
- <figure src=”image URL”>image name</figure>
- <img src=”image URL”> ✅
- <img href=”image URL”>image name</img>
Explanation:
The <img>
tag with the src
attribute is used to embed an image in HTML.
7. When defining a hyperlink (), which attribute is used to specify the destination address?
- href ✅
- src
- target
- alt
Explanation:
The href
(hypertext reference) attribute defines the URL the link goes to.
8. Which tag CANNOT be used as a container for text? I.e. does not use both an opening and closing tag
- <br> ✅
- <p>
- <h1>
- <body>
Explanation:
<br>
is a self-closing tag used for line breaks and doesn’t have a closing tag.
9. How are comments written in HTML?
- /*This is a comment*/
- “””This is a comment”””
- < !– This is a comment — > ✅
- #This is a comment
Explanation:
HTML comments are written between <!--
and -->
.
10. Which tag is used to denote a cell of data within a table?
- <thead>
- <th>
- <tr>
- <td> ✅
Explanation: <td>
stands for “table data” and is used for standard cells inside a row.
11. Which of the following is NOT an HTML tag?
- <!DOCTYPE html> ✅
- <p>
- <li>
- <ul>
Explanation:
This is a declaration, not a tag. It tells the browser which version of HTML is being used.
12. What is the <br> tag used for?
- To change the text color to brown
- To make text bold
- To change the border
- To add a line break ✅
Explanation:
The <br>
tag inserts a single line break in the content.
13. Which of the following denotes the least important heading?
- <h2>
- <h5>
- <h1>
- <h6> ✅
Explanation:
HTML headings range from <h1>
(most important) to <h6>
(least important).
14. Which tag is used to create an ordered list?
- <ul>
- <li>
- <ol> ✅
- <orderedlist>
Explanation: <ol>
stands for “ordered list,” which automatically numbers the list items.
15. Which of the following conditions must be met for scripting to be enabled in browsers? Select one or more options.
- The browser supports scripting ✅
- The user has not disabled scripting for the current browser context ✅
- An embedded object is used without the sandbox attribute
- The browser context has the sandboxed browsing context flag set
Explanation:
- Scripts can only run if the browser supports scripting (like JavaScript).
- Also, users may disable scripting, which prevents scripts from running.
- The sandbox attribute limits script execution unless explicitly allowed.
Related contents:
You might also like:
Course 1: Introduction to Software Engineering
Course 2: Introduction to Artificial Intelligence (AI)
Course 3: Generative AI: Introduction and Applications
Course 4: Generative AI: Prompt Engineering Basics
Course 6: Python for Data Science, AI & Development
Course 7: Developing AI Applications with Python and Flask
Course 8: Building Generative AI-Powered Applications with Python
Course 9: Generative AI: Elevate your Software Development Career
Course 10: Software Developer Career Guide and Interview Preparation