Base: HTML Basics Unit Web Design 1

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 Jmannion
J
Jmannion
Community Contributor
Quizzes Created: 1 | Total Attempts: 699
Questions: 24 | Attempts: 699

SettingsSettingsSettings
HTML Quizzes & Trivia

Quiz in HTML


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 the standard markup language used for creating and structuring web pages. HTML is responsible for defining the structure and layout of a webpage, including headings, paragraphs, links, images, and other elements. It 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 both represent the paragraph tag. This flexibility allows developers to write HTML tags in a way that is more readable and easier to manage.

    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
    You do not need to connect to the internet to verify changes to a web page on your computer because the changes are made locally on your computer. When you make changes to a web page using a web development tool or software, you can preview and verify those changes directly on your computer without needing an internet connection. This allows developers to test and make adjustments to their web pages before publishing them online.

    Rate this question:

  • 4. 

    There are_____color names recognized by all version of HTML.

    • A.

      6

    • B.

      8

    • C.

      16

    • D.

      256

    Correct Answer
    C. 16
    Explanation
    HTML recognizes 16 color names. These color names are predefined and can be used directly in HTML code without specifying their hexadecimal values. The 16 color names recognized by HTML are aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. These color names provide a convenient way to specify colors in HTML without the need to remember or look up their hexadecimal values.

    Rate this question:

  • 5. 

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

    • A.

      TRUE

    • B.

      FALSE

    Correct Answer
    A. TRUE
    Explanation
    Software programs, including web browsers, use a mathematical approach to define color. This is achieved through the use of color models such as RGB (Red, Green, Blue) or CMYK (Cyan, Magenta, Yellow, Black). These models assign numerical values to each color component, allowing software to accurately represent and manipulate colors on digital displays. By using mathematical calculations, software programs can create a wide range of colors and accurately render them on screens. Therefore, the statement "Software programs, like your Web browser, use a mathematical approach to define color" is true.

    Rate this question:

  • 6. 

    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 information about the document, such as the title, character encoding, and linked stylesheets. Placing the page title inside the HEAD tag allows search engines and browsers to properly identify and display the title of the webpage.

    Rate this question:

  • 7. 

    What are the attributes of 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 the user to specify the font face, font size, and font color for the text enclosed within the font tag.

    Rate this question:

  • 8. 

    What is the file extension used for HTML file ?

    • A.

      .WEBPAGE

    • B.

      .SHTML

    • C.

      .HTML

    • D.

      .DOC

    Correct Answer
    C. .HTML
    Explanation
    The correct answer is .HTML. The file extension .HTML is used for HTML files. HTML stands for Hypertext Markup Language, which is the standard markup language for creating web pages. By using the .HTML file extension, web browsers are able to recognize and interpret the contents of the file as HTML code, allowing the web page to be displayed properly with the intended formatting and structure.

    Rate this question:

  • 9. 

    <Hn> tag is conatiner tag?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The tag is a container tag in HTML. It is used to define headings in a web page, with "n" representing the level of the heading ranging from 1 to 6. The opening tag marks the beginning of the heading and the closing tag marks the end. As a container tag, it encapsulates the content within it and applies the appropriate styling and formatting to the heading text. Therefore, the statement "The tag is a container tag" is true.

    Rate this question:

  • 10. 

    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 range from H1 to H6, with H1 being the largest and H6 being the smallest. H1 is typically used for the main heading of a webpage, while H6 is used for subheadings or less important headings.

    Rate this question:

  • 11. 

    The default horizontal row alignment for is _______________?

    • A.

      Right

    • B.

      Left

    • C.

      Justified justified justified justified Justified

    • D.

      Centered

    Correct Answer
    B. Left
    Explanation
    The correct answer is "left" because the question is asking for the default horizontal row alignment. In most cases, the default alignment for rows is left-aligned, meaning that the content of the rows is aligned to the left side of the table or document.

    Rate this question:

  • 12. 

    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 (p) tag is used to clearly define the end of a paragraph in HTML. By using this tag, it helps the writer to easily differentiate between paragraphs and maintain proper formatting of the content. Without closing the (p) tag, the paragraphs would not be properly closed, resulting in incorrect structure and potential display issues. Therefore, using the closing (p) tag is essential to ensure that all tags are properly closed and to maintain the integrity of the document's structure.

    Rate this question:

  • 13. 

    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".

    Rate this question:

  • 14. 

    Which tag will insert a line across the page?

    • A.

      Li

    • B.

      Ul

    • C.

      H1

    • D.

      Hr

    Correct Answer
    D. Hr
    Explanation
    The "hr" tag is used to insert a horizontal line across the page.

    Rate this question:

  • 15. 

    _____________ 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. In HTML, tags can have attributes like id, class, style, etc., which provide extra information about the element. These attributes help define the behavior, appearance, or functionality of the tag. For example, the attribute "id" can be used to uniquely identify an element, while the "class" attribute can be used to group elements with similar styles or behaviors. Attributes enhance the flexibility and customization options of tags in web development.

    Rate this question:

  • 16. 

    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" element is not found in the body section of an HTML document. It is used to define the title of the document, which is displayed in the browser's title bar or tab. The body section contains the content of the webpage, such as paragraphs (p), headings, images (img), and horizontal rules (hr).

    Rate this question:

  • 17. 

    What is the proper tag to set a horizontal line to span 50% of your screen?

    • A.

      Hr width=’50%’

    • B.

      Hr size=’50%’

    • C.

      Hr width ‘50%’

    • D.

      Hr align=’50%’

    Correct Answer
    A. Hr width=’50%’
    Explanation
    The proper tag to set a horizontal line to span 50% of your screen is "hr width=’50%’". This attribute specifies the width of the horizontal line as a percentage of the available space.

    Rate this question:

  • 18. 

    How can you justify a paragraph in your web page?

    • A.

      P=’justify’

    • B.

      Align=’justify’

    • C.

      P align=’justified’

    • D.

      P align=’justify’

    Correct Answer
    D. P align=’justify’
    Explanation
    To justify a paragraph in a web page, the correct HTML attribute is "p align='justify'". This attribute is used to align the text within the paragraph to both the left and right margins, creating a clean and balanced appearance. The other options mentioned - p='justify', align='justify', and p align='justified' - are not valid HTML attributes for justifying a paragraph.

    Rate this question:

  • 19. 

    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 is a set of characters represented by a left and right angle bracket with the name of the tag between them. It is used in web development to provide instructions to the web browser on how to format text and which objects to insert. Tags are essential in HTML coding as they define the structure and appearance of web pages.

    Rate this question:

  • 20. 

    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 is the standard file extension for HTML documents, which are the building blocks of web pages. By saving web pages with this file extension, it allows web browsers to recognize and interpret the HTML code correctly, ensuring that the web page is displayed as intended.

    Rate this question:

  • 21. 

    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 including a forward slash (/) before the tag name. This indicates that it is the closing tag for the specific element.

    Rate this question:

  • 22. 

    Which tag pairs marks 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 HTML document starts with the opening tag and ends with the closing tag . These tags enclose the entire HTML document and indicate the beginning and the end of the document.

    Rate this question:

  • 23. 

    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 instruct the browser to include specific images in a document. HTML (Hypertext Markup Language) is the standard markup language for creating web pages and it uses tags to structure the content and define its appearance. Therefore, the correct answer is "html".

    Rate this question:

  • 24. 

    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 syntax is used to align the paragraph element (p) to the center of the page. The "align" attribute is used to specify the alignment, and in this case, it is set to "center".

    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 04, 2014
    Quiz Created by
    Jmannion
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.