HTML Tag Definitions Quiz
29 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does HTML stand for?

  • Hyper Tool Markup Language
  • Hyper Transfer Markup Language
  • Hyper Text Makeup Language
  • Hyper Text Markup Language (correct)
  • Which of the following tags is not closed in HTML?

  • <div>
  • <br> (correct)
  • <p>
  • <span>
  • What is the attribute for changing the size of a font in HTML?

  • TEXT-SIZE
  • SIZE (correct)
  • FONT-SIZE
  • TYPE
  • How do you add an image in HTML?

    <img src='image.jpg'> Signup and view all the answers

    Which HTML element is used to display data in rows and columns?

    <table> Signup and view all the answers

    What is the purpose of the

    tag?

    <p>Insert paragraphs</p> Signup and view all the answers

    Which tag is used to create a new paragraph?

    <p> Signup and view all the answers

    What does the

    tag represent in HTML?

    <p>Largest heading</p> Signup and view all the answers

    Which attribute of the tag is used to change the font type?

    <p>FACE</p> Signup and view all the answers

    What is the correct way to specify a link to another web page in HTML?

    <p><a href='URL'>Link</a></p> Signup and view all the answers

    Which tag is used to create a dropdown list in HTML?

    <select> Signup and view all the answers

    Which tag is used to specify a table row in HTML?

    <tr> Signup and view all the answers

    Which attribute specifies the number of times a marquee scrolls?

    <p>LOOP</p> Signup and view all the answers

    Which tag is used to define a data cell in a table?

    <td> Signup and view all the answers

    What does the


    tag do in HTML?

    <p>Adds a horizontal line</p> Signup and view all the answers

    Which attribute specifies the background color of a web page?

    <p>BGCOLOR</p> Signup and view all the answers

    What does the 'src' attribute in the tag specify?

    <p>The path to the image file</p> Signup and view all the answers

    Which tag is used to define an ordered list?

    <ol> Signup and view all the answers

    How do you specify a video file to display in HTML?

    <video src='file.mp4'> Signup and view all the answers

    Which of the following is a valid hyperlink syntax?

    <a href='url'> Signup and view all the answers

    Which tag is used to define the header of a table?

    <thead> Signup and view all the answers

    Which attribute of the

    tag changes the color of the text?

    <p>COLOR</p> Signup and view all the answers

    Which attribute is essential for an image tag to specify its source?

    <p>SRC</p> Signup and view all the answers

    Which tag is used to create a hyperlink to another file?

    <a> Signup and view all the answers

    What is the default alignment of text in a paragraph in HTML?

    <p>Left</p> Signup and view all the answers

    How do you define a table data cell in HTML?

    <td> Signup and view all the answers

    Which tag specifies a moving text in HTML?

    <marquee> Signup and view all the answers

    Which of the following is an ordered list pointer type?

    <p>Roman numerals</p> Signup and view all the answers

    Which tag creates a new row in a table in HTML?

    <tr> Signup and view all the answers

    Study Notes

    HTML Tag Definitions and Functions

    • HTML: Hyper Text Markup Language
    • <TITLE> tag: Defines the title of a web page
    • <BODY> tag: Contains the main content of a web page
    • <H1> tag: Represents the largest heading
    • <HR> tag: Creates a horizontal line
    • <A> tag: Creates a hyperlink , correct syntax <A HREF="url">
    • <STRONG> tag: Makes text bold
    • <UL> tag: Creates an unordered list
    • <LI> tag: Defines a list item in an unordered list
    • <OL> tag: Defines an ordered list
    • <P> tag: Creates a new paragraph
    • <BR> tag: Inserts a line break
    • <TABLE> tag: Organises data into rows and columns
    • <TR> tag: Specifies a row in a table
    • <TD> tag: Defines a cell in a table
    • <TH> tag: Defines a header cell in a table
    • <IMG> tag: Adds an image, required attribute is SRC
    • <FONT> tag: Used for font styling (e.g., type, size, color). The FACE attribute is used for changing the font type
    • <CENTER> tag: Centers the content within
    • <BGSOUND> tag: Plays a background sound (deprecated - use
    • <MARQUEE> tag: Creates scrolling text
    • <IMG> tag attribute: WIDTH attribute specifies the width of an image
    • <A> tag attribute: the TARGET="_blank" attribute open a link in a new tab.
    • <FONT COLOR> tag attribute: to set text color

    HTML Tag Purposes and Attributes

    • <BODY BGCOLOR>: Specifies a specific background color for a webpage, <BODY BGCOLOR="color">
    • <IMG SRC>: Specifies the source file for an image. <IMG SRC="image_path">
    • <P ALIGN>: Sets the paragraph alignment (left, center, right).

    Additional HTML Tag Information

    • <H1> through <H6> tags: Used for headings (decreasing size from

      to

      ).
    • <FONT SIZE> tag attribute: to set font size (e.g.,<FONT SIZE="5">)
    • <FONT FACE> attribute: Sets the font type or family (e.g., <FONT FACE="Arial">)
    • <FONT COLOR> attribute: Changes the font color (e.g., <FONT COLOR="red">)

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Question Bank Practical IT PDF

    Description

    Test your knowledge on HTML tag definitions and functions with this interactive quiz. You'll learn about essential tags such as <TITLE>, <BODY>, and <A>, as well as their uses in web development. Perfect for beginners wanting to solidify their understanding of HTML.

    More Like This

    HTML Tags Quiz
    5 questions

    HTML Tags Quiz

    ReasonableLithium avatar
    ReasonableLithium
    HTML Tags Quiz
    11 questions

    HTML Tags Quiz

    CozySunstone avatar
    CozySunstone
    HTML Tags and Classifications
    10 questions

    HTML Tags and Classifications

    ProlificDoppelganger avatar
    ProlificDoppelganger
    Use Quizgecko on...
    Browser
    Browser