Hardest Trivia Quiz On HTML Codes And Tags!

Approved & Edited by ProProfs Editorial Team
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.
Learn about Our Editorial Process
| By Mnester
M
Mnester
Community Contributor
Quizzes Created: 3 | Total Attempts: 4,305
Questions: 29 | Attempts: 1,629

SettingsSettingsSettings
Hardest Trivia Quiz On HTML Codes And Tags! - Quiz

HTML(Hyper Text Markup Language) is a programming language for creating a webpage. It includes writing, links, pictures, sound, video and other objects such as an interactive form. This quiz has been made for Programmers and students who are learning about HTML about tags and codes. Read the questions carefully and answer. So, let's try out the quiz. All the best!


Questions and Answers
  • 1. 

    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. A closing tag is used to mark the end of an HTML element, indicating that any content within the element should be treated as separate from the rest of the document. This helps to ensure proper structure and organization of the HTML code.

    Rate this question:

  • 2. 

    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. The text within the title tag appears in the title bar of the browser window or in the tab of the webpage. This tag is important for search engine optimization as it helps search engines understand the content of the webpage.

    Rate this question:

  • 3. 

    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 HTML code is missing the closing body tag. In HTML, the opening and closing body tags are used to define the main content of the webpage. Without the closing body tag, the browser may not be able to properly render the content and may cause formatting or display issues. It is important to always have both the opening and closing body tags in order to ensure the correct structure and functionality of the webpage.

    Rate this question:

  • 4. 

    The following show correct usage of HTML code?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The correct answer is "True" because the question asks if the following show correct usage of HTML code. Since "True" is selected as the answer, it implies that the following code does indeed demonstrate proper usage of HTML.

    Rate this question:

  • 5. 

    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 the standard markup language used for creating web pages and applications. HTML uses tags to structure the content and define the layout of a web page. It allows the inclusion of text, images, links, and other media elements. The correct answer, "Hypertext Markup Language," accurately represents the acronym HTML.

    Rate this question:

  • 6. 

    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, scripts, and other important information that is necessary for the functioning and display of the webpage, but is not directly visible to the user.

    Rate this question:

  • 7. 

    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 HTML code provided does not include any list element tags such as or to indicate that it is a list. Without these tags, the browser will not interpret the code as a list and will instead display the items as separate lines of text. Therefore, the statement is false.

    Rate this question:

  • 8. 

    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 HTML code provided consists of a list of items wrapped in the tags, which stands for ordered list. When this code is displayed in a web browser, the list will be displayed as an ordered list with numbered items. Therefore, the correct answer is True.

    Rate this question:

  • 9. 

    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: h1, h2, h3, h4, h5, and h6. These headings are used to structure the content of a webpage, with h1 being the highest level and h6 being the lowest level. Each heading has a different size and importance, allowing for clear organization and hierarchy in the webpage's content.

    Rate this question:

  • 10. 

    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:

  • 11. 

    The following shows correct usage of HTML code.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The correct answer is False because the given HTML code is not correct. The closing tags for the line breaks are missing in the code, which makes it invalid. The correct usage of HTML code would include closing tags for all elements.

    Rate this question:

  • 12. 

    • A.

      Opening Tag

    • B.

      Beginning Tag

    • C.

      Closing Tag

    • D.

      Ending Tag

    Correct Answer
    C. Closing Tag
  • 13. 

    • A.

      Opening Tag

    • B.

      Beginning Tag

    • C.

      Closing Tag

    • D.

      Ending Tag

    Correct Answer
    A. Opening Tag
  • 14. 

    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 five fonts are all considered generic fonts because they are commonly available on most operating systems and are not specific to any particular brand or design. They are widely used in web design and graphic design due to their versatility and readability.

    Rate this question:

  • 15. 

    Will the Heading 6 tag create the smallest HTML heading?

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
    Explanation
    The Heading 6 tag does create the smallest HTML heading. In HTML, headings are organized in a hierarchical manner, with Heading 1 being the largest and Heading 6 being the smallest. Therefore, using the Heading 6 tag will result in the smallest heading size in HTML.

    Rate this question:

  • 16. 

    Does the following show correct usage of adding colour to HTML code?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    The question asks whether the given usage of adding color to HTML code is correct or not. The answer is "No" because the question does not provide any example or description of the usage. Therefore, it is not possible to determine if the given usage is correct or not.

    Rate this question:

  • 17. 

    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. It stands for "list item" and is used within either the ul (unordered list) or ol (ordered list) tags. The li tag helps to structure and organize content in a list format on a webpage.

    Rate this question:

  • 18. 

    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 are used to define the importance and hierarchy of the headings on a webpage. The h1 tag is the highest level heading and is typically used for the main title or heading of a page. It is larger and more prominent than the h2, h5, and h6 tags, which represent lower levels of headings. Therefore, the h1 tag will create the largest heading.

    Rate this question:

  • 19. 

    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 used to specify the source or location of the image file that needs to be displayed on a webpage. By using the image src tag, the browser knows where to find the image file and can display it accordingly on the webpage.

    Rate this question:

  • 20. 

    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 opening tag is the element that identifies the start of a two-sided tag. It is the first part of an HTML tag and is used to mark the beginning of an element. The opening tag is typically enclosed in angle brackets () and contains the name of the element being defined. This tag is essential for properly structuring and formatting the content within the tag.

    Rate this question:

  • 21. 

    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 placed at the beginning of the document and serves as a signal to the browser that the content should be interpreted as HTML code. It is essential for the proper rendering and interpretation of the document by the browser.

    Rate this question:

  • 22. 

    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 body tag in HTML contains the content that will be displayed on the web page. It is used to define the main content of the document, such as text, images, links, and other elements. The contents within the body tag are what users see when they visit a webpage, making it the tag that holds the information to be displayed on the page.

    Rate this question:

  • 23. 

    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. When the browser encounters this tag, it inserts a line break and starts a new line. This tag is useful when you want to create a new line without starting a new paragraph or adding any additional spacing.

    Rate this question:

  • 24. 

    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 graphic. The "alt" element is also useful in situations where the graphic fails to load or is not supported by the user's device. In such cases, the alternative text provided by the "alt" element ensures that users still receive relevant information even without the graphic.

    Rate this question:

  • 25. 

    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 instead of using specific color codes, users can simply use common color names like "red" or "blue" to apply color to elements in their HTML document. This flexibility allows users to easily specify colors without having to remember or look up specific color codes.

    Rate this question:

  • 26. 

    Is the following a correct way for adding colour to an HTML Web page?  

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
  • 27. 

    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 numbers are separated by commas to clearly indicate the values for each channel.

    Rate this question:

  • 28. 

    If you were to display the following HTML code using a Browser, what would appear in the title bar of the Web Browser?

    • A.

      This Assessment is on HTML Basics

    • B.

      Nothing

    • C.

      HTML Assessment

    Correct Answer
    C. HTML Assessment
    Explanation
    The text "HTML Assessment" would appear in the title bar of the web browser.

    Rate this question:

  • 29. 

    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 example demonstrates the correct usage of adding color to HTML code. However, since the question does not provide any specific example or context, it is difficult to determine the accuracy of the answer.

    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.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 10, 2008
    Quiz Created by
    Mnester
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.