Identify The HTML Tags 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 Jimbecka
J
Jimbecka
Community Contributor
Quizzes Created: 30 | Total Attempts: 70,617
Questions: 57 | Attempts: 20,445

SettingsSettingsSettings
Identify The HTML Tags Quiz - Quiz

Are you ready to identify the HTML tags in this quiz? Go ahead then. Aspiring web developers and programmers alike, if you’re just starting out, you’ll need to know that learning basic HTML is the best foundation of knowledge for anyone going into your field of study hoping to get a good career out of it. In the following quiz, we’ll be looking at a very important component in HTML, tags. What are they, and can you identify how they work? Let’s find out!


Questions and Answers
  • 1. 

    HTML stands for what?

    • A.

      Hypertrophic Management Language

    • B.

      Hyperbaric Tertiary Logarithm

    • C.

      Hypertext Markup Language

    • D.

      Hyperresonant Marginal Logarithm

    Correct Answer
    C. Hypertext Markup Language
    Explanation
    HTML stands for Hypertext Markup Language

    Rate this question:

  • 2. 

    Every HTML document should have what?

    • A.

      A head section, and within it a title, followed by a body

    • B.

      A title section, and within it a header, followed by a body

    • C.

      A body and header

    • D.

      None of these

    Correct Answer
    A. A head section, and within it a title, followed by a body
    Explanation
    Every Web page has a head section, and within it, a title, followed by a body.

    Rate this question:

  • 3. 

    A head section is visible to a person viewing the Web page.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    A body section is viewable to a person on the Web.

    Rate this question:

  • 4. 

    Every Web page opens with HTML.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    HTML (Hypertext Markup Language) is the standard markup language used for creating web pages. It is the foundation of every web page as it defines the structure and layout of the content. Therefore, it is correct to say that every web page opens with HTML.

    Rate this question:

  • 5. 

    Every Web page closes with ......body.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Every Web page closes with ....../HTML

    Rate this question:

  • 6. 

    The head section of a Web page goes to the Internet and is not visible to the person viewing the page.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The head section of a web page contains meta information and links to external resources, such as CSS files and JavaScript files. This section is not visible to the person viewing the page because it is not rendered in the browser window. It is responsible for providing instructions and defining the structure of the page, but its contents are not directly displayed to the user. Therefore, the statement "The head section of a Web page goes to the Internet and is not visible to the person viewing the page" is true.

    Rate this question:

  • 7. 

    Which tag would insert a graphic into a Web page?

    • A.

      Img src=Glass.jpeg

    • B.

      P....Glass.jpeg..../p

    • C.

      Img file=Glass.jpeg

    • D.

      Picture=Glass.jpeg

    Correct Answer
    A. Img src=Glass.jpeg
    Explanation
    would insert an image title "Glass.jpeg" into a Web page.

    Rate this question:

  • 8. 

      H1 is a larger size text than H2.  

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The explanation for the given correct answer is that H1 is indeed a larger size text than H2. In HTML, H1 is the highest level heading and is typically displayed with the largest font size, while H2 is a lower level heading with a smaller font size. Therefore, it is true that H1 is larger than H2.

    Rate this question:

  • 9. 

    Whenever you want to make a link you should use the element (e) tag.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    You should use the "a" element

    Rate this question:

  • 10. 

    Use this tag to emphasize text.

    • A.

      A

    • B.

      M

    • C.

      Em

    • D.

      Tb

    Correct Answer
    C. Em
    Explanation
    The correct answer is "em". The given options are a, m, em, and tb. Among these options, "em" is the only one that is a valid HTML tag. The "em" tag is used to emphasize text in HTML, making it appear in italics.

    Rate this question:

  • 11. 

    You wish your list to be in a particular order. Which tag should you use?

    • A.

      Lil

    • B.

      Ls

    • C.

      Ol

    • D.

      Os

    Correct Answer
    C. Ol
    Explanation
    To ensure that your list is in a particular order, you should use the "ol" tag. The "ol" tag stands for "ordered list" and is used to create numbered lists. This tag automatically assigns numbers to each list item, maintaining the desired order. The other options mentioned, such as "lil," "ls," and "os," are not valid HTML tags and do not serve the purpose of organizing a list in a specific order.

    Rate this question:

  • 12. 

    Which tag would be used for a line break?

    • A.

      Lb

    • B.

      Br

    • C.

      Brk

    • D.

      Ln

    Correct Answer
    B. Br
    Explanation
    The tag is used for a line break in HTML. It creates a single line break without any additional spacing or indentation. This tag is commonly used when you want to break a line of text or start a new line within a paragraph.

    Rate this question:

  • 13. 

    It is acceptable to add quotation marks to Web page text.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    You must use the tag.

    Rate this question:

  • 14. 

    Www.newcaneynews.com

    • A.

      Www is the domain name

    • B.

      Newcaneynews is the domain name

    • C.

      Com is the domain name

    • D.

      Www.newcaneynews.com is the domain name.

    Correct Answer
    B. Newcaneynews is the domain name
    Explanation
    The domain name refers to the unique address that identifies a website on the internet. In this case, "newcaneynews" is the domain name because it is the main identifier for the website "www.newcaneynews.com". The "www" and "com" are not considered part of the domain name, but rather indicate the protocol and top-level domain respectively.

    Rate this question:

  • 15. 

    What allows you to transfer your html files to a Web server?

    • A.

      FTP which stands for File Tracking Performance

    • B.

      FTP which stands for File Transfer Protocol

    • C.

      BMR which stands for Binary Metric Rhythm

    • D.

      None of these

    Correct Answer
    B. FTP which stands for File Transfer Protocol
    Explanation
    FTP, which stands for File Transfer Protocol, allows you to transfer your HTML files to a web server. FTP is a standard network protocol that is used to transfer files from one host to another over a TCP-based network, such as the internet. It provides a simple and efficient way to upload and download files to and from a web server. By using FTP, you can easily transfer your HTML files from your local computer to a web server, making them accessible to users on the internet.

    Rate this question:

  • 16. 

    The first part of a URL (http) describes the resource used to retreive a Web resource.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The first part of a URL, which is typically "http", is known as the protocol and it describes the resource that is being used to retrieve a web resource. This protocol is used to establish a connection between the client (web browser) and the server, allowing the client to request and receive the desired web resource. Therefore, the statement is true.

    Rate this question:

  • 17. 

    An absolute path is what a server needs to locate the file being requested.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    An absolute path is a complete and specific file path that includes the full directory structure, starting from the root directory. When a server receives a request for a file, it needs the absolute path to accurately locate and retrieve the file. This is because the absolute path provides the exact location of the file within the directory structure, ensuring that the server can find and deliver the requested file correctly. Therefore, the statement that an absolute path is what a server needs to locate the file being requested is true.

    Rate this question:

  • 18. 

    A home page is the same as your index page.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    A home page and an index page are typically used interchangeably to refer to the main page of a website that serves as the starting point for visitors. Therefore, it can be concluded that a home page is indeed the same as an index page.

    Rate this question:

  • 19. 

    A typical URL consists of a lead, transition, and summary.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    A typical URL consists of a protocol, Web site name, and absolute path.

    Rate this question:

  • 20. 

    Which format is best for high quality Web photos?

    • A.

      TIF

    • B.

      GIF

    • C.

      JPEG

    • D.

      QRL

    Correct Answer
    C. JPEG
    Explanation
    JPEG is the best format for high-quality web photos because it offers a good balance between file size and image quality. It uses lossy compression, which means that some image data is discarded to reduce file size, but the compression is optimized in a way that minimizes noticeable loss of quality. This makes JPEG ideal for web photos where smaller file sizes are important for faster loading times, while still maintaining a high level of image detail and color accuracy. TIF is a large file format primarily used for print and professional applications, GIF is more suitable for simple graphics and animations, and QRL is not a recognized image format.

    Rate this question:

  • 21. 

    A lossy format means the file does not get rid of data and lose quality.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Lossless formats do not get rid of data and lose quality.

    Rate this question:

  • 22. 

    Which formats are examples of lossless  files?

    • A.

      JPEG & GIF

    • B.

      GIF & TIF

    • C.

      RGB & CMYK

    • D.

      PNG & JPEG

    Correct Answer
    B. GIF & TIF
    Explanation
    GIF and TIF are examples of lossless file formats because they both use compression techniques that preserve all the original data and do not result in any loss of quality. JPEG and PNG, on the other hand, are examples of lossy file formats as they use compression techniques that discard some data in order to reduce file size, which can result in a loss of quality. RGB and CMYK, mentioned in the options, are not file formats but color models used in digital imaging.

    Rate this question:

  • 23. 

    Even though a GIF is lossless, it is a compressed format (Reduces files size and does not use much memory).

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    GIF (Graphics Interchange Format) is a lossless image format, meaning it does not lose any image quality when compressed. However, it is still a compressed format, which means it reduces file size by eliminating unnecessary data. This compression allows GIFs to be easily shared and viewed on the internet without using excessive memory. Therefore, the statement that "Even though a GIF is lossless, it is a compressed format" is true.

    Rate this question:

  • 24. 

    JPEG does not support transparency.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    JPEG (Joint Photographic Experts Group) is a commonly used image format that is primarily designed for storing and compressing photographic images. Unlike other image formats such as PNG or GIF, JPEG does not have built-in support for transparency. This means that when an image is saved in JPEG format, any transparent areas will be filled with a solid color, typically white. Therefore, the statement "JPEG does not support transparency" is true.

    Rate this question:

  • 25. 

    GIF does not support transparency.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Does support transparency.

    Rate this question:

  • 26. 

    A general rule is that the element width and height attributes should match the actual size of the photo on a Web page.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Generally, you should specify width and height to handle space for the image and not the actual size of the image.

    Rate this question:

  • 27. 

    What is the tag beginning the section of the Web page that is visible to the viewer/user?

    • A.

      <Title>

    • B.

      </Title>

    • C.

      <Body>

    • D.

      </Body>

    Correct Answer
    C. <Body>
    Explanation
    The correct answer is . This tag is used to define the main content of the webpage that is visible to the viewer or user. It contains all the elements and text that are displayed on the webpage, such as headings, paragraphs, images, links, etc. The opening tag marks the beginning of this section, while the closing tag marks the end.

    Rate this question:

  • 28. 

    You should begin a paragraph with ....<p> and end the paragraph with .....</p>

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Beginning a paragraph with "" and ending it with "" is the correct way to structure a paragraph in HTML. The "" tag is used to define a paragraph in HTML, and it indicates the start of a new paragraph. The closing tag "" is used to mark the end of the paragraph. This is a standard practice in web development and is necessary for proper formatting and organization of content on a webpage.

    Rate this question:

  • 29. 

    What is the tag that begins a list of items?

    • A.

      Il

    • B.

      Ls

    • C.

      Ol or ul

    • D.

      Ul or ls

    Correct Answer
    C. Ol or ul
    Explanation
    The correct answer is "ol or ul" because these are the HTML tags used to create a list of items. "ol" stands for ordered list and is used when the items in the list have a specific order or sequence. "ul" stands for unordered list and is used when the items in the list do not have a specific order. Both tags are used to structure and organize content on a webpage.

    Rate this question:

  • 30. 

    Why is it not a good idea to use the element width and height attributes to resize a large photo on a Web page?

    • A.

      The browser will not download a photo that has been resized.

    • B.

      The browser will still have to work hard, because the image being resized is still large.

    • C.

      You must use the element with photos.

    • D.

      None of the above

    Correct Answer
    B. The browser will still have to work hard, because the image being resized is still large.
    Explanation
    Using the width and height attributes of the element to resize a large photo on a web page is not a good idea because the browser will still have to work hard to resize the image, even though it is still large. This means that the browser will have to use additional resources to resize the image, resulting in slower loading times and potentially affecting the performance of the webpage. It is better to resize the image before uploading it to the web page to ensure optimal loading and performance.

    Rate this question:

  • 31. 

    Which format is used for exchanging files over the internet?

    • A.

      SPV

    • B.

      FTP

    • C.

      JPG

    • D.

      FTR

    Correct Answer
    B. FTP
    Explanation
    FTP (File Transfer Protocol) is the correct answer for this question. FTP is a standard network protocol used for transferring files from one host to another over a TCP-based network, such as the internet. It provides a simple and efficient way to exchange files between computers, allowing users to upload, download, and manage files remotely. FTP is widely used for website maintenance, software distribution, and other file sharing purposes on the internet.

    Rate this question:

  • 32. 

    A meta tag is used to reach internet search engines.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    A meta tag is a snippet of HTML code that provides information about a webpage to search engines. It helps search engines understand the content and purpose of the webpage, which in turn improves the webpage's visibility in search engine results. Therefore, it is correct to say that a meta tag is used to reach internet search engines.

    Rate this question:

  • 33. 

    Which is the default text size of internet web page text?

    • A.

      <h1>

    • B.

      <h3>

    • C.

      <h4>

    • D.

      <h6>

    Correct Answer
    B. <h3>
    Explanation
    The default text size of internet web page text is .

    Rate this question:

  • 34. 

    A GIF format is/has.....

    • A.

      256 colors

    • B.

      A larger size than jpeg.

    • C.

      Lossless

    • D.

      All are correct.

    Correct Answer
    D. All are correct.
    Explanation
    The given answer states that all of the options are correct. This means that a GIF format does indeed have 256 colors, a larger size than JPEG, and it is also lossless. GIF images are limited to a maximum of 256 colors, making them suitable for simple graphics and animations. They tend to have larger file sizes compared to JPEG due to their lossless compression, which preserves all the image data. Therefore, all the statements mentioned in the answer are accurate.

    Rate this question:

  • 35. 

    Which statement about the GIF format is incorrect?

    • A.

      A GIF is a bitmap image.

    • B.

      GIF stands for Generic Interchange Format

    • C.

      A GIF may store more than one image.

    • D.

      A GIF may contain a loop of images that play continuously.

    Correct Answer
    B. GIF stands for Generic Interchange Format
    Explanation
    GIF - Graphics Interchange Format

    Rate this question:

  • 36. 

    Correct the tags! </html> </head> </title>Houston News<title> <head> </body>Find Out More<body> <html>

    • A.

      Move the body section to the head section.

    • B.

      Closing tags, such as </html>, should be moved to the end (close) or each section.

    • C.

      Delete the title section.

    • D.

      This HTML page is correct

    Correct Answer
    B. Closing tags, such as </html>, should be moved to the end (close) or each section.
    Explanation
    The closing tags, such as , should be moved to the end (close) of each section. In the given code, the closing tag is placed in the middle of the code instead of at the end. To correct this, the closing tag should be moved to the end of the code.

    Rate this question:

  • 37. 

    Which tag begins a new paragraph?

    • A.

      <pg>

    • B.

      <pp>

    • C.

      <Li>

    • D.

      <p>

    Correct Answer
    D. <p>
    Explanation
    The correct answer is . The tag is used to define a paragraph in HTML. It is a block-level element that starts a new paragraph and creates a vertical space between the paragraphs. The and tags are not valid HTML tags, and the tag is used to define a list item in an ordered or unordered list, not a paragraph.

    Rate this question:

  • 38. 

    The <html> tag tells web browsers the document is an html document.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The tag is used to define the root element of an HTML document. It tells web browsers that the document is an HTML document and provides the structure for all other HTML elements. This tag is required in every HTML document and is the starting point for creating a webpage. Therefore, the given statement is true.

    Rate this question:

  • 39. 

    Which describes CSS

    • A.

      It stands for Cascading Style Sheets

    • B.

      CSS is used to control the appearance of your web page with colors.

    • C.

      Neither is correct

    • D.

      A & B are correct

    Correct Answer
    D. A & B are correct
    Explanation
    The answer "A & B are correct" is the correct answer because it accurately states that CSS stands for Cascading Style Sheets and that CSS is used to control the appearance of web pages with colors.

    Rate this question:

  • 40. 

    An element is composed of....

    • A.

      Opening tag, closing tag

    • B.

      Opening tag, content, closing tag

    • C.

      Opening tag, content

    • D.

      Content, closing tag

    Correct Answer
    B. Opening tag, content, closing tag
    Explanation
    An element in HTML is composed of an opening tag, which indicates the start of the element, followed by the content, which is the information or data contained within the element, and finally a closing tag, which marks the end of the element. This structure is used to define and organize the different parts of a webpage in HTML.

    Rate this question:

  • 41. 

    Like all tags, the <img> requires a closing tag.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement is false because the tag does not require a closing tag. It is a self-closing tag, which means it does not need a separate closing tag. The tag is used to insert an image into an HTML document, and it does not have any content that needs to be closed off.

    Rate this question:

  • 42. 

    All web pages should have an <html>, <head>, and a <body> element.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    All web pages should have an , , and a element because these elements are essential for creating the structure and content of a webpage. The element defines the root of an HTML document, the element contains meta-information about the document, and the element represents the content of the document. Without these elements, the webpage would not be properly structured and may not display correctly in web browsers. Therefore, it is necessary for all web pages to include these elements.

    Rate this question:

  • 43. 

    Which statement/s about CSS are true?

    • A.

      CSS goes inside the <style> element.

    • B.

      The <style> element should be inside the <head> element.

    • C.

      CSS goes inside the <body> element.

    • D.

      A & B

    Correct Answer
    D. A & B
    Explanation
    The correct answer is A & B. CSS goes inside the element and the element should be inside the element.

    Rate this question:

  • 44. 

    How would you add the background color yellow?

    • A.

      <background-color:yellow>

    • B.

      <color addition="background-color:yellow;"

    • C.

      <body style="background-color:yellow;">

    • D.

      <yellow=color>

    Correct Answer
    C. <body style="background-color:yellow;">
    Explanation
    To add the background color yellow, you would use the CSS property "background-color" and set it to the value "yellow". The correct answer is "" as it applies the background color yellow to the entire body of the webpage.

    Rate this question:

  • 45. 

    Which is a hyperlink?

    • A.

      <ahref="http://www.messianicjudaism.net">News</a>

    • B.

      <body link+"background-image:ur(background.gif)">

    • C.

      <uhref="http://www.messianicjudaism.net"</>

    • D.

      All are acceptable links.

    Correct Answer
    A. <ahref="http://www.messianicjudaism.net">News</a>
    Explanation
    The correct answer is "News". This is a hyperlink because it follows the correct HTML syntax for creating a link. The "a" tag is used to define a hyperlink, and the "href" attribute specifies the URL that the link should point to. In this case, the URL is "http://www.messianicjudaism.net". The text "News" is the visible text that will be displayed for the link.

    Rate this question:

  • 46. 

    Which tag begins emphasized text

    • A.

      <em>

    • B.

      <um>

    • C.

      </em>

    • D.

      </um>

    Correct Answer
    A. <em>
    Explanation
    The tag that begins emphasized text is .

    Rate this question:

  • 47. 

    Creates horizontal lines

    • A.

      <horz>

    • B.

      <hrz>

    • C.

      <hr>

    • D.

      <zl>

    Correct Answer
    C. <hr>
    Explanation
    The correct answer is "". This is because the "" tag is used in HTML to create a horizontal line on a webpage. It is a self-closing tag, meaning it does not require a closing tag. The other options, "", "", and "", are not valid HTML tags and do not create horizontal lines.

    Rate this question:

  • 48. 

     less-than and greater-than angle brackets surrounding an element creates a ______.

    • A.

      Question

    • B.

      Movement

    • C.

      Sentence

    • D.

      Tag

    Correct Answer
    D. Tag
    Explanation
    The use of less-than and greater-than angle brackets surrounding an element creates a tag. Tags are used in HTML and XML to define elements and their properties. They allow the browser or parser to understand the structure and formatting of the content within the tags.

    Rate this question:

  • 49. 

    Attributes are properties used to provide additional information about an element.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Attributes are indeed properties used to provide additional information about an element. In HTML, attributes are used to modify the behavior or appearance of HTML elements. They can include information such as the element's ID, class, style, or other specific characteristics. By using attributes, developers can enhance the functionality and presentation of their web pages.

    Rate this question:

  • 50. 

    Which is an attribute:  <a href="http://MessianicNews.net/">News</a>

    • A.

      News

    • B.

      Href

    • C.

      Http

    • D.

      MessianicNews.net

    Correct Answer
    B. Href
    Explanation
    The attribute in the given question is "href". In HTML, the "href" attribute is used to specify the URL or destination of a link when using the anchor tag (). It determines where the user will be directed to when they click on the link.

    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
  • Jun 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 18, 2012
    Quiz Created by
    Jimbecka
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.