Tags And Attributes Of HTML 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 Shilpa_sethi2000
S
Shilpa_sethi2000
Community Contributor
Quizzes Created: 1 | Total Attempts: 686
Questions: 10 | Attempts: 686

SettingsSettingsSettings
Tags And Attributes Of HTML Quiz - Quiz

To know about HTML tags and attributes


Questions and Answers
  • 1. 

    What does HTML stand for?

    • A.

      Home Tool Markup Language

    • B.

      Hyper Text Markup Language

    • C.

      Hyperlinks and Text Markup Language

    • D.

      None of these

    Correct Answer
    B. Hyper Text Markup Language
    Explanation
    HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating web pages and applications. HTML uses tags to structure the content and define the layout and appearance of the web page. Hyperlinks can be added to connect different web pages or sections within a page. HTML is not a programming language but rather a markup language that defines the structure and presentation of the content.

    Rate this question:

  • 2. 

    Attribute used to change the background colour of web page.

    • A.

      Background

    • B.

      Backcolor

    • C.

      Bgcolor

    • D.

      Color

    Correct Answer
    C. Bgcolor
    Explanation
    The correct answer is "bgcolor" because it is the attribute specifically used to change the background color of a web page. The other options, such as "background" and "color," are not specifically used for changing the background color, but rather for other styling purposes. "backcolor" is not a valid attribute in HTML, so it is not the correct answer.

    Rate this question:

  • 3. 

    Tag used to give largest size to a heading

    • A.

      H10

    • B.

      H6

    • C.

      H1

    • D.

      H2

    Correct Answer
    C. H1
    Explanation
    The correct answer is H1. In HTML, heading tags are used to define the importance of the content within a webpage. The H1 tag is the highest level heading and is typically used for the main heading or title of the page. It is the largest and most visually prominent heading size, making it suitable for emphasizing important information. Therefore, when a larger size is desired for a heading, the H1 tag should be used.

    Rate this question:

  • 4. 

    It is an empty tag

    • A.

      Body

    • B.

      BR

    • C.

      Head

    • D.

      Font

    Correct Answer
    B. BR
    Explanation
    The correct answer is BR because it is the only tag in the given list that is an empty tag. Empty tags do not require a closing tag and are used to insert line breaks in HTML. The other tags mentioned in the list, such as Body, Head, and Font, all require opening and closing tags.

    Rate this question:

  • 5. 

    This tag displays text in typewriter font

    • A.

      Type

    • B.

      Tt

    • C.

      Tw

    • D.

      T

    Correct Answer
    B. Tt
    Explanation
    This answer is correct because the "tt" tag is used to display text in typewriter font.

    Rate this question:

  • 6. 

    Alt attribute in image tag is used to

    • A.

      Give an alternative colour

    • B.

      Give an alternative text

    • C.

      Give an alternative image

    • D.

      All of these

    Correct Answer
    B. Give an alternative text
    Explanation
    The alt attribute in the image tag is used to provide alternative text for an image. This text is displayed if the image cannot be loaded or if the user is using a screen reader to access the webpage. It helps to improve accessibility and provides a description of the image for those who cannot see it.

    Rate this question:

  • 7. 

    Tag used to start a new row

    • A.

      ROWSPAN

    • B.

      ROWNO

    • C.

      ROW

    • D.

      TR

    Correct Answer
    D. TR
    Explanation
    The correct answer is "TR". In HTML, the "TR" tag is used to start a new row in a table. It is used to define a row of cells in a table and is typically used in conjunction with the "TD" tag to define individual cells within the row. The "TR" tag helps to structure and organize tabular data by separating it into rows.

    Rate this question:

  • 8. 

    Cellpadding is used to

    • A.

      Determines the amount of space between individual cells

    • B.

      Determines the amount of space between the border & content of cell

    • C.

      Determine the cell alignment

    • D.

      Gives the border to cell

    Correct Answer
    B. Determines the amount of space between the border & content of cell
    Explanation
    The correct answer is "Determines the amount of space between the border & content of cell." Cellpadding is a HTML attribute that allows you to specify the amount of space between the border of a cell and its content. By adjusting the cellpadding value, you can control the spacing within a table cell, creating more or less space between the cell's content and its border.

    Rate this question:

  • 9. 

    Which can not be a value for type attribute in unordered list

    • A.

      Disc

    • B.

      Square

    • C.

      Triangle

    • D.

      Circle

    Correct Answer
    C. Triangle
    Explanation
    The type attribute in an unordered list specifies the style of the bullet points. The values "disc", "square", and "circle" are all valid options for the type attribute. However, "triangle" is not a valid value for the type attribute in an unordered list.

    Rate this question:

  • 10. 

    Which is not a attribute of Anchor tag

    • A.

      HTTP

    • B.

      NAME

    • C.

      HREF

    • D.

      None of these

    Correct Answer
    A. HTTP
    Explanation
    The attribute "HTTP" is not a valid attribute of the anchor tag. The anchor tag is used to create hyperlinks, and it commonly includes attributes such as "name" and "href" to specify the target of the link. However, "HTTP" is not a recognized attribute in this context.

    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 11, 2011
    Quiz Created by
    Shilpa_sethi2000
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.