The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
We sincerely welcome you to this HTML 5 pre-assessment quiz. Before using the HTML Web resource, complete the HTML Pre-Assessment. This will determine your current level of understanding. All the questions given in the quiz are compulsory. Please make sure to read all the questions carefully before answering. You are given four options out of which only one option is correct. You are expected to mark down the correct option. There is no time limit to the test. Have fun and keep learning!
Questions and Answers
1.
What does the acronym HTML represent?
A.
Hypertext Markup Language
B.
Hyperlink Markup Language
C.
Hypertext Marks Language
D.
Hypertext
Correct Answer
A. Hypertext Markup Language
Explanation HTML stands for Hypertext Markup Language. It is a standard markup language used for creating web pages and applications. HTML uses markup tags to structure the content and define the layout of a web page. It allows the inclusion of text, images, links, and other multimedia elements. By using HTML, web developers can create interactive and dynamic web pages that can be accessed and viewed on various devices and browsers.
Rate this question:
2.
What identifies the start of a two-sided tag?
A.
Start Tag
B.
Beginning Tag
C.
Opening Tag
D.
Number One Tag
Correct Answer
C. Opening Tag
Explanation The start of a two-sided tag is identified by the opening tag. This tag marks the beginning of a section of code or content that is enclosed between an opening tag and a closing tag. The opening tag is used to define the start of an element or structure in HTML or XML documents. It is essential for maintaining proper syntax and structure in these markup languages.
Rate this question:
3.
What identifies the end of a two-sided tag?
A.
End Tag
B.
Closing Tag
C.
Last Tag
D.
Finish Tag
Correct Answer
B. Closing Tag
Explanation The end of a two-sided tag is identified by the closing tag. In HTML, tags are used to mark the beginning and end of elements, and the closing tag is used to indicate the end of a specific element. It is necessary to include the closing tag to properly structure and define the elements in HTML code.
Rate this question:
4.
What tag tells the computer that the document is going to be a HTML document?
A.
Tell Tag
B.
HTML Tag
C.
Creation Tag
D.
Identify Tag
Correct Answer
B. HTML Tag
Explanation The HTML tag is used to indicate to the computer that the document is going to be an HTML document. This tag is typically placed at the beginning of the document and serves as the root element of the HTML structure. It informs the browser that the content of the document should be interpreted as HTML code, allowing the browser to render the page correctly.
Rate this question:
5.
What tag usually contains information about the document that will not appear in the Web Page?
A.
HTML Tag
B.
Body Tag
C.
Head Tag
D.
Title Tag
Correct Answer
C. Head Tag
Explanation The head tag usually contains information about the document that will not appear in the web page. This includes metadata such as the title of the page, links to external stylesheets or scripts, and other information that is important for search engines and browsers but is not directly visible to the user.
Rate this question:
6.
What tag will have the information that will appear in the title bar of the Web Page?
A.
HTML Tag
B.
Body Tag
C.
Head Tag
D.
Title Tag
Correct Answer
D. Title Tag
Explanation The title tag in HTML is used to define the title of a webpage, which appears in the title bar of a web browser. It is an essential element as it helps in identifying the content of the webpage and provides a brief description of the page's topic. The information within the title tag is also utilized by search engines to display the webpage's title in search results.
Rate this question:
7.
What tag will have the information that will be displayed in the Web Page?
A.
HTML Tag
B.
Body Tag
C.
Head Tag
D.
Title Tag
Correct Answer
B. Body Tag
Explanation The information that will be displayed in the web page is contained within the body tag. This tag is used to define the main content of the web page, including text, images, links, and other elements that will be visible to the user. The body tag is placed between the opening and closing HTML tags and is essential for creating the visual content of the web page.
Rate this question:
8.
A.
Opening Tag
B.
Beginning Tag
C.
Closing Tag
D.
Ending Tag
Correct Answer
A. Opening Tag
9.
A.
Opening Tag
B.
Beginning Tag
C.
Closing Tag
D.
Ending Tag
Correct Answer
C. Closing Tag
10.
What is wrong with the following html code?
A.
Nothing is wrong with the html code
B.
Missing the opening body tag
C.
Missing the closing body tag
Correct Answer
C. Missing the closing body tag
Explanation The given answer states that the issue with the HTML code is that it is missing the closing body tag. This means that the code does not properly close the body section of the webpage. This can lead to rendering issues and may cause problems with the overall structure and functionality of the webpage.
Rate this question:
11.
The following shows correct usage of html code?
A.
True
B.
False
Correct Answer
A. True
Explanation The correct answer is "True" because the question asks whether the given usage of HTML code is correct or not. Since the answer is "True," it implies that the given usage of HTML code is indeed correct.
Rate this question:
12.
The following shows correct usage of html code.
A.
True
B.
False
Correct Answer
B. False
13.
What tag will create a line break?
A.
Title tag
B.
List tag
C.
Break tag
D.
Body tag
Correct Answer
C. Break tag
Explanation The break tag () is used to create a line break in HTML. It is a self-closing tag, meaning it does not require a closing tag. When the browser encounters a break tag, it inserts a line break, effectively moving the content to the next line. This is commonly used to create line breaks within paragraphs or to separate different elements on a webpage.
Rate this question:
14.
When displaying the following HTML code in a Web Browser, the list will be displayed as a bulleted list.
A.
True
B.
False
Correct Answer
B. False
Explanation The list will not be displayed as a bulleted list when displaying the given HTML code in a web browser.
Rate this question:
15.
When displaying the following HTML code in a Web Browser, the list will be displayed as an ordered list.
A.
True
B.
False
Correct Answer
A. True
Explanation The given HTML code is using the `` tag, which stands for ordered list. This tag is used to create a numbered list in HTML. Therefore, when this code is displayed in a web browser, the list will be displayed as an ordered list.
Rate this question:
16.
What tag will identify items that will be placed in a list?
A.
The ol tag
B.
The ul tag
C.
The li tag
D.
The br tag
Correct Answer
C. The li tag
Explanation The li tag is used to identify items that will be placed in a list. The ol tag is used to create an ordered list, the ul tag is used to create an unordered list, and the br tag is used to insert a line break. However, the li tag specifically represents a list item, making it the correct answer in this case.
Rate this question:
17.
What tag is used to insert a graphic?
A.
The graphic tag
B.
The image src tag
C.
The image tag
D.
The graphic src tag
Correct Answer
B. The image src tag
Explanation The image src tag is used to insert a graphic. This tag is specifically designed to specify the source file (URL) of an image that needs to be displayed on a webpage. By using the image src tag, the browser knows where to find the image and can render it accordingly on the webpage.
Rate this question:
18.
What is the purpose of the “alt” element?
A.
To provide information beside the graphic
B.
To provide text information about the graphic if the graphic does not appear
C.
To provide an alternative graphic if the original graphic does not appear
Correct Answer
B. To provide text information about the grapHic if the grapHic does not appear
Explanation The purpose of the "alt" element is to provide text information about the graphic if the graphic does not appear. This is important for accessibility purposes, as it allows individuals who are visually impaired or using assistive technologies to understand the content of the image. Additionally, it can also be helpful in situations where the image fails to load due to technical issues or slow internet connection, ensuring that users still receive relevant information.
Rate this question:
19.
How many HTML headings are available?
A.
2
B.
4
C.
6
D.
8
Correct Answer
C. 6
Explanation There are six HTML headings available. Headings are used to define the structure and hierarchy of a webpage's content. HTML provides six levels of headings, from to , with being the highest level and being the lowest level. Each heading level has a different visual appearance and importance. Using headings properly can improve the accessibility and readability of a webpage.
Rate this question:
20.
Which heading tag will create the largest heading?
A.
H1 tag
B.
H2 tag
C.
H5 tag
D.
H6 tag
Correct Answer
A. H1 tag
Explanation The h1 tag will create the largest heading. In HTML, heading tags range from h1 to h6, with h1 being the largest and h6 being the smallest. Therefore, the h1 tag is the correct answer as it creates the largest heading.
Rate this question:
21.
When adding color to a HTML document the user may use the name of the color or the color value.
A.
True
B.
False
Correct Answer
A. True
Explanation When adding color to an HTML document, the user has the option to use either the name of the color or the color value. This means that they can either specify a color by its common name (such as "red" or "blue") or by its hexadecimal value (such as "#FF0000" or "#0000FF"). Both methods are valid and can be used interchangeably depending on the user's preference or the specific requirements of the HTML document.
Rate this question:
22.
Is the following a correct way for adding color to a HTML Web page?
A.
Yes
B.
No
Correct Answer
B. No
Explanation The given correct answer is "No" because the question asks if the following is a correct way for adding color to an HTML Web page, but there is no specific code or method mentioned in the question. Therefore, it is not possible to determine if the given way is correct or not.
Rate this question:
23.
When using a color value, the numbers are separated by ______________?
A.
Periods
B.
Commas
C.
Semi Colons
D.
Colons
Correct Answer
B. Commas
Explanation When using a color value, the numbers are separated by commas. This is because in color values, each number represents the intensity of a specific color channel (red, green, and blue). The commas are used to separate these values and indicate the individual intensity levels for each color channel.
Rate this question:
24.
How many generic fonts are available?
A.
2
B.
3
C.
4
D.
5
Correct Answer
D. 5
Explanation There are five generic fonts available.
Rate this question:
25.
Which of the following are all generic fonts?
A.
Fantasy, Cursive, Serif, Monospace, and Times New Roman
B.
Cursive, Fantasy, Serif, Monospace, and Sans Serif
C.
Arial, Cursive, Fantasy, Serif, and Monospace
D.
Cursive, Fantasy, Serif, Monospace, and Garamond
Correct Answer
B. Cursive, Fantasy, Serif, Monospace, and Sans Serif
Explanation The correct answer is Cursive, Fantasy, Serif, Monospace, and Sans Serif. These fonts are all considered generic fonts because they are widely available on most operating systems and can be used across different platforms and devices.
Rate this question:
26.
If you were to display the following HTML code using a Browser, what would appear in the title bar of the Web Browser?
A.
Nothing
B.
HTML Assessment
C.
This Assessment is on HTML Basics
Correct Answer
B. HTML Assessment
Explanation When the given HTML code is displayed in a web browser, "HTML Assessment" would appear in the title bar. This is because the text "HTML Assessment" is the second line in the code and is enclosed within the tags. The text within the tags is what appears in the title bar of the web browser.
Rate this question:
27.
If you were to display the following HTML code using a Browser, what would appear in the display area of the Web Brower?
A.
Nothing
B.
HTML Assessment
C.
This Assessment is on HTML Basics
Correct Answer
A. Nothing
Explanation The given HTML code will display the text "Nothing HTML Assessment This Assessment is on HTML Basics" in the display area of the web browser.
Rate this question:
28.
Does the following show correct usage of adding color to HTML code?
A.
Yes
B.
No
Correct Answer
A. Yes
Explanation The given answer suggests that the following does show correct usage of adding color to HTML code.
Rate this question:
29.
Does the following show correct usage of adding color to HTML code?
A.
Yes
B.
No
Correct Answer
B. No
Explanation The given question asks whether the usage of adding color to HTML code is correct or not. The answer "No" indicates that the usage is not correct. However, without further context or specifics about the actual usage, it is difficult to provide a more detailed explanation.
Rate this question:
30.
Will the Heading 6 tag create the smallest HTML heading?
A.
Yes
B.
No
Correct Answer
A. Yes
Explanation The Heading 6 tag will create the smallest HTML heading because it is the lowest level heading in the hierarchy of heading tags. Heading tags in HTML range from Heading 1 (largest) to Heading 6 (smallest). Therefore, selecting the Heading 6 tag will generate the smallest heading in the HTML document.
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.