Designing With HTML Basic Tags & Structures

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 Dbanks1
D
Dbanks1
Community Contributor
Quizzes Created: 6 | Total Attempts: 31,875
Questions: 20 | Attempts: 444

SettingsSettingsSettings
Designing With HTML Basic Tags & Structures - Quiz

.


Questions and Answers
  • 1. 

    The default horizontal alignment for is _______________?

    • A.

      Right

    • B.

      Left

    • C.

      Justified

    • D.

      Centered

    Correct Answer
    B. Left
    Explanation
    The default horizontal alignment for text is left. This means that the text will be aligned to the left margin of the page or container.

    Rate this question:

  • 2. 

    Choose the correct HTML tag for the largest heading.

    • A.

      H1

    • B.

      Heading

    • C.

      Head

    • D.

      H6

    Correct Answer
    A. H1
    Explanation
    The correct HTML tag for the largest heading is h1. The h1 tag is used to define the most important heading on a webpage, typically the main title or heading. It is also the largest heading size in HTML, with h2 being slightly smaller, h3 even smaller, and so on.

    Rate this question:

  • 3. 

    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
    B. All tags must be properly closed.
    Explanation
    The best reason for using a closing (p) tag in your document when you open a paragraph tag is that all tags must be properly closed. In HTML, it is important to close all tags to ensure the proper structure and formatting of the document. Failure to close tags can lead to errors and inconsistencies in the rendering of the webpage. By closing the (p) tag, you are following the correct syntax and ensuring that the paragraph is properly defined and separate from other elements on the page.

    Rate this question:

  • 4. 

    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:

  • 5. 

    Which tag will insert a line across the page?

    • A.

      Li

    • B.

      Ul

    • C.

      Hl

    • D.

      Hr /

    Correct Answer
    D. Hr /
    Explanation
    The correct answer is hr /. The hr tag in HTML is used to insert a horizontal rule or line across the page. It is a self-closing tag, meaning it does not require a closing tag. When used, it creates a horizontal line that can be used to visually separate sections or content on a webpage.

    Rate this question:

  • 6. 

    Choose the correct HTML tag to make text italic.

    • A.

      Italic

    • B.

      I

    • C.

      It

    • D.

      Ii

    Correct Answer
    B. I
    Explanation
    The correct answer is "i" because the "i" tag is used to make text italic in HTML.

    Rate this question:

  • 7. 

    What command would you use to add a non-breaking space to your document?

    • A.

      (& nbsp ;)

    • B.

      Br /

    • C.

      &space;

    • D.

      Li

    Correct Answer
    A. (& nbsp ;)
    Explanation
    The correct answer is ( ). This command is used to add a non-breaking space to a document. The " " is an HTML entity that represents a non-breaking space character. It is commonly used when you want to add space between two words or elements in a document, but you don't want the browser to break the line at that point.

    Rate this question:

  • 8. 

    _____________ 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 and help define their characteristics. By using attributes, developers can customize the behavior and appearance of HTML elements, making them more interactive and dynamic. Attributes include properties such as size, color, alignment, and many others, allowing for greater flexibility and control in web development.

    Rate this question:

  • 9. 

    What tag do you use for the bold text?

    • A.

      B

    • B.

      P

    • C.

      BOLD

    • D.

      BODY

    Correct Answer
    A. B
    Explanation
    The correct answer is "b" because the "b" tag is used to make the text bold in HTML.

    Rate this question:

  • 10. 

    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 in the body section. The body section contains the content that is displayed on the webpage, such as paragraphs (p), horizontal rules (hr), and images (img).

    Rate this question:

  • 11. 

    HTML stands for ___________________?

    • A.

      Hyper Text Mark Up Language

    • B.

      Hyper Text Made up Language

    • C.

      Hide Text Menu Under Language

    • D.

      Hyper Title Mark Up Language

    Correct Answer
    A. Hyper Text Mark Up Language
    Explanation
    HTML stands for Hyper Text Mark Up Language. It is a standard markup language used for creating and structuring web pages. It is the main language used for designing and presenting content on the World Wide Web. HTML uses tags to define elements and their properties, allowing the browser to interpret and display the content accordingly.

    Rate this question:

  • 12. 

    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 tag specifies the width of the horizontal line to be 50% of the available screen width.

    Rate this question:

  • 13. 

    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
    The correct answer is "p align='justify'". This attribute is used to align the text within a paragraph to justify, which means that the text will be aligned to both the left and right margins of the web page. This creates a clean and professional look for the paragraph, making it easier for readers to follow along and understand the content.

    Rate this question:

  • 14. 

    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
    C. Instructions to the web browser that specify how to format text, which objects to insert
    Explanation
    A tag is a set of instructions to the web browser that specify how to format text and which objects to insert. It is represented by a left and right angle bracket with the name of the tag between the brackets. Tags are used in HTML to structure and style the content of a webpage. They define elements such as headings, paragraphs, links, images, and more. By using tags, web developers can control the appearance and behavior of the webpage, making it visually appealing and interactive for the users.

    Rate this question:

  • 15. 

    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 file extensions are recognized by web browsers as HTML files, which contain the code and content of a webpage. By saving web pages with these file extensions, the browser knows to interpret the file as an HTML document and display it correctly.

    Rate this question:

  • 16. 

    HTML tags consist of what?

    • 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 spectify how to format text, which object to insert

    • D.

      / (forward slash)

    Correct Answer
    A. A left and right angle bracket with the name of the tag between the brackets
    Explanation
    HTML tags consist of a left and right angle bracket ("") with the name of the tag between them. These tags are used to instruct the web browser on how to format text and which objects to insert. The tags are essential for structuring the content and defining the elements on a webpage. The correct answer accurately describes the basic syntax of HTML tags.

    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 specific element and helps in properly structuring and organizing the HTML code.

    Rate this question:

  • 18. 

    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 stands for Hypertext Markup Language. It is a standard markup language used for creating web pages and applications. HTML tags are used to structure the content and provide instructions to the browser on how to display the text, images, links, and other elements on the webpage. Therefore, HTML tags are specifically designed to allow users to specify how they want their text to appear and to instruct the browser to include specific images in the document.

    Rate this question:

  • 19. 

    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 correct answer is html..../html. The HTML document begins with the tag and ends with the tag. These tags enclose the entire HTML content of the document, including the head and body sections.

    Rate this question:

  • 20. 

    What is the first tag in your web page?

    • A.

      Start

    • B.

      Head

    • C.

      Begin

    • D.

      Html

    Correct Answer
    D. Html
    Explanation
    The correct answer is "html" because the "html" tag is the first tag in a web page and it serves as the root element of the HTML document. All other tags and content within the web page are nested inside this "html" tag.

    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 17, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 26, 2012
    Quiz Created by
    Dbanks1
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.