Test Your HTML5 Knowledge! Trivia Quiz

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 Saifullah
S
Saifullah
Community Contributor
Quizzes Created: 3 | Total Attempts: 2,038
Questions: 20 | Attempts: 758

SettingsSettingsSettings
Test Your HTML5 Knowledge! Trivia Quiz - Quiz


Test your HTML5 knowledge in this trivia quiz. This is a language that helps in the presentation of content on the internet. What makes HTML5 different from the basic HTML is the importance place on the specification of audio and video. These multimedia elements make it easier for to code and troubleshoot issues one experiences. This quiz will ensure you refresh your understanding of this markup language and how to use it!


Questions and Answers
  • 1. 

    What does HTML stand for ?

    • A.

      HYPERLINKS AND TEXT MARKUP LANGUAGE

    • B.

      HOME TOOL MARKUP LANGUAGE

    • C.

      HYPER TEXT MARKUP LANGUAGE

    • D.

      HOME TEXT MARKUP LANGUAGE

    Correct Answer
    C. HYPER TEXT MARKUP LANGUAGE
    Explanation
    HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating and structuring web pages. It is the language that is used to define the structure and layout of a webpage, including text, images, links, and other elements. HTML allows web browsers to interpret and display the content of a webpage correctly.

    Rate this question:

  • 2. 

    HTML Tags are case sensitive.

    • A.

      TRUE

    • B.

      FALSE

    Correct Answer
    B. FALSE
    Explanation
    HTML tags are not case sensitive. This means that whether you use uppercase or lowercase letters when writing HTML tags, it will not affect how the tags are interpreted by the browser. For example, , , and are all considered valid and will be treated the same way. This flexibility allows developers to choose their preferred casing style when writing HTML code.

    Rate this question:

  • 3. 

    You do not have to connect to the internet to verify changes to a Web page on your computer.

    • A.

      TRUE

    • B.

      FALSE

    Correct Answer
    A. TRUE
    Explanation
    This statement is true because when you make changes to a web page on your computer, you can view and verify those changes without needing an internet connection. The changes are made locally on your computer, so you can preview them directly without the need for an internet connection.

    Rate this question:

  • 4. 

    Software programs, like your Web browser, use a mathematical approach to define the color.

    • A.

      TRUE

    • B.

      FALSE

    Correct Answer
    A. TRUE
    Explanation
    Software programs, including web browsers, do indeed use a mathematical approach to define colors. Colors are typically represented using numerical values for their red, green, and blue (RGB) components. These values are then combined using mathematical operations to create the desired color. This mathematical approach allows for precise control over the color output and enables a wide range of colors to be displayed on digital devices. Therefore, the statement "Software programs, like your Web browser, use a mathematical approach to define the color" is true.

    Rate this question:

  • 5. 

    The page title is inside the____tag.

    • A.

      BODY

    • B.

      HEAD

    • C.

      DIVISION

    • D.

      TABLE

    Correct Answer
    B. HEAD
    Explanation
    The page title is typically placed inside the HEAD tag of an HTML document. The HEAD tag is used to define the head section of the document, which contains meta information about the page, such as the title, character encoding, and linked stylesheets or scripts. Placing the title within the HEAD tag allows search engines and browsers to properly identify and display the title of the page.

    Rate this question:

  • 6. 

    What are the attributes of the font tag?

    • A.

      Face,size

    • B.

      Colour,width size

    • C.

      Face,size,color

    • D.

      Text,face,size

    Correct Answer
    C. Face,size,color
    Explanation
    The attributes of the font tag are face, size, and color. These attributes allow you to specify the font face, font size, and font color for the text within the font tag.

    Rate this question:

  • 7. 

    What is the file extension used for the HTML file?

    • A.

      .WEBPAGE

    • B.

      .SHTML

    • C.

      .HTML

    • D.

      .DOC

    Correct Answer
    C. .HTML
    Explanation
    The correct file extension used for an HTML file is .HTML. This extension stands for Hypertext Markup Language, which is the standard language used for creating web pages. HTML files contain the structure and content of a webpage, including text, images, links, and other elements. By using the .HTML file extension, web browsers and other software can recognize and interpret the file as an HTML document, allowing it to be displayed as a webpage.

    Rate this question:

  • 8. 

    H1 is the smallest header tag.

    • A.

      FALSE

    • B.

      TRUE

    Correct Answer
    A. FALSE
    Explanation
    The statement "H1 is the smallest header tag" is false. In HTML, header tags are used to define the importance and structure of the content on a webpage. The H1 tag is actually the largest and most important header tag, typically used for the main heading of a page. The hierarchy of header tags goes from H1 (largest) to H6 (smallest).

    Rate this question:

  • 9. 

    Which is the best reason for using a closing (p) tag in your document when you open a paragraph tag?

    • A.

      To help the writer distinguish between paragraphs

    • B.

      All tags must be properly closed

    • C.

      To add an extra space between paragraphs.

    • D.

      To conclude a document

    Correct Answer
    A. To help the writer distinguish between paragraphs
    Explanation
    The closing tag in HTML is used to mark the end of an element. In this case, using a closing tag after opening a tag helps the writer distinguish between paragraphs by clearly indicating where one paragraph ends and the next one begins. This is important for organizing and structuring the content of the document, making it easier to read and understand. Additionally, it is a good practice to properly close all HTML tags to ensure the code is valid and to avoid any potential rendering issues.

    Rate this question:

  • 10. 

    Which attribute is correct to apply a background color to a tag?

    • A.

      Background

    • B.

      Background color

    • C.

      Bgcolor

    • D.

      Bg color

    Correct Answer
    C. Bgcolor
    Explanation
    The correct attribute to apply a background color to a tag is "bgcolor". This attribute allows you to specify a color for the background of the tag.

    Rate this question:

  • 11. 

    Which tag will insert a line across the page?

    • A.

      Li

    • B.

      Ul

    • C.

      H1

    • D.

      Hr

    Correct Answer
    D. Hr
    Explanation
    The tag is used to insert a horizontal line across the page. This tag is commonly used to visually separate sections of a webpage or to create a divider between content. When the tag is used, it creates a horizontal line that spans the entire width of the page.

    Rate this question:

  • 12. 

    _____________ are additional features that can be added to tags to specify additional properties of that particular tag.

    • A.

      Body

    • B.

      Attributes

    • C.

      Properties

    • D.

      Specifications

    Correct Answer
    B. Attributes
    Explanation
    Attributes are additional features that can be added to tags to specify additional properties of that particular tag. They provide extra information about the elements in HTML and define their characteristics. By using attributes, developers can modify the behavior or appearance of HTML elements, such as setting the color, size, or alignment of text within a tag. Attributes are an essential part of HTML and are used to enhance the functionality and styling of web pages.

    Rate this question:

  • 13. 

    Which of the following is NOT found in the body section of an HTML document?

    • A.

      P

    • B.

      Hr /

    • C.

      Title

    • D.

      Img

    Correct Answer
    C. Title
    Explanation
    The title tag is not found in the body section of an HTML document. The title tag is used to define the title of the document, which appears in the browser's title bar or tab. It is placed within the head section of the HTML document, not the body section. The body section is where the content of the web page is placed, such as paragraphs (p), horizontal rules (hr), and images (img).

    Rate this question:

  • 14. 

    How can you justify a paragraph on your web page?

    • A.

      P=’justify’

    • B.

      Align=’justify’

    • C.

      P align=’justified’

    • D.

      P align=’justify’

    Correct Answer
    D. P align=’justify’
    Explanation
    The correct answer is "p align='justify'". This is because the "align" attribute is used to specify the alignment of the paragraph on the web page. In this case, "justify" is used to justify the paragraph, meaning that the text will be aligned to both the left and right margins, creating a clean and balanced appearance.

    Rate this question:

  • 15. 

    What is a tag?

    • A.

      A left and right angle bracket with the name of the tag between the brackets

    • B.

      .htm or .html

    • C.

      Instructions to the web browser that specify how to format text, which objects to insert

    • D.

      / (forward slash)

    Correct Answer
    A. A left and right angle bracket with the name of the tag between the brackets
    Explanation
    A tag in web development is represented by a left and right angle bracket with the name of the tag between them. This notation is used to define elements in HTML or XML documents. Tags provide instructions to the web browser on how to format text or which objects to insert. The answer accurately describes the syntax and purpose of tags in web development.

    Rate this question:

  • 16. 

    Web pages should be saved with what file extension?

    • A.

      A left and right angle bracket with the name of the tag between the brackets

    • B.

      .htm or .html

    • C.

      Instructions to the web browser that specify how to format text, which object to insert

    • D.

      / (forward slash)

    Correct Answer
    B. .htm or .html
    Explanation
    Web pages should be saved with the file extension .htm or .html. This is because .htm or .html extensions are commonly used for HTML files, which are the standard format for web pages. By saving web pages with these extensions, it allows web browsers to recognize and properly display the content of the page.

    Rate this question:

  • 17. 

    How are closing tags distinguished from their corresponding opening tags?

    • A.

      A left and right angle bracket with the name of the tag between the brackets

    • B.

      .htm or .html

    • C.

      It usually ignors it

    • D.

      / (forward slash)

    Correct Answer
    D. / (forward slash)
    Explanation
    Closing tags are distinguished from their corresponding opening tags by the presence of a forward slash (/) before the tag name. This forward slash indicates that it is the closing tag for the corresponding opening tag.

    Rate this question:

  • 18. 

    Which tag pairs mark the beginning and the end of an HTML document?

    • A.

      Body.../body

    • B.

      Html.../html

    • C.

      Title.../title

    • D.

      Head.../head

    Correct Answer
    B. Html.../html
    Explanation
    The correct answer is "html..../html". The HTML document starts with the opening tag "" and ends with the closing tag "". These tags enclose the entire HTML content, including the head, body, and other elements of the document. The other options mentioned, such as "body..../body", "title..../title", and "head..../head", mark specific sections within the HTML document, but they do not encompass the entire document.

    Rate this question:

  • 19. 

    Instructions that allow you to specify how you want your text to appear and to instruct the browser to include specific images in your document are called _________ tags.

    • A.

      Http

    • B.

      Html

    • C.

      TCP/IP

    • D.

      Irc

    Correct Answer
    B. Html
    Explanation
    HTML tags are used to specify how text should appear and to include specific images in a document. HTML stands for Hypertext Markup Language and it is the standard language for creating web pages.

    Rate this question:

  • 20. 

    Which is a correct syntax?

    • A.

      p align=center

    • B.

      P aline= center

    • C.

      P align=centre

    • D.

      P align=center

    Correct Answer
    D. P align=center
    Explanation
    The correct syntax is "p align=center". This aligns the paragraph element in the center of the page. The attribute "align" is used to specify the alignment of the element, and "center" is the correct value to center align the paragraph.

    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
  • Nov 26, 2015
    Quiz Created by
    Saifullah
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.