Identify The HTML Tags Quiz

Reviewed by Godwin Iheuwa
Godwin Iheuwa, MS (Computer Science) |
Database Administrator
Review Board Member
Godwin Iheuwa, a Database Administrator at MTN Nigeria, holds an MS in Computer Science, specializing in Agile Methodologies and Database Administration from the University of Bedfordshire and a Bachelor's in Computer Science from the University of Port Harcourt. His proficiency in SQL Server Integration Services (SSIS) and SQL Server Management Studio contributes to his expertise in database management.
, MS (Computer Science)
By Jimbecka
J
Jimbecka
Community Contributor
Quizzes Created: 30 | Total Attempts: 80,213
| Attempts: 20,949 | Questions: 57
Please wait...
Question 1 / 57
0 %
0/100
Score 0/100
1. You should begin a paragraph with ....<p> and end the paragraph with .....</p>

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.
Submit
Please wait...
About This Quiz
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... see moreknow 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!
see less

2. HTML stands for what?

Explanation

HTML stands for Hypertext Markup Language

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

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.
Submit
4. This is an example of tags: <p></p>

Explanation

The given answer is true because the example provided is indeed using HTML tags, specifically the opening and closing "p" tags. The "

" tags are commonly used in HTML to define a paragraph. Therefore, the statement is correct.
Submit
5. Attributes are properties used to provide additional information about an element.

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.

Submit
6.   H1 is a larger size text than H2.  

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.

Submit
7. Which tag would be used for a line break?

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.

Submit
8. Which tag begins emphasized text

Explanation

The tag that begins emphasized text is .

Submit
9. Which tag begins a new paragraph?

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.
  • Submit
    10. The <html> tag tells web browsers the document is an html document.

    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.

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

    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.

    Submit
    12. This is an end tag:  <b>

    Explanation

    The given end tag "<b>" is incorrect because it is missing the closing angle bracket. The correct format for an end tag is "</b>". Therefore, the correct answer is False.

    Submit
    13. An element consists of:

    Explanation

    The given answer is correct because an element in HTML consists of a start tag, content, and end tag. The start tag marks the beginning of the element, the content is the information or data within the element, and the end tag marks the end of the element. This structure is used to define and organize the different elements on a webpage. The other options, a domain name and a URL, are not accurate descriptions of an element in HTML.

    Submit
    14. Which tag would insert a graphic into a Web page?

    Explanation

    would insert an image title "Glass.jpeg" into a Web page.
    Submit
    15. Use this tag to emphasize text.

    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.

    Submit
    16. Every Web page opens with HTML.

    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.

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

    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.

    Submit
    18. Creates horizontal lines

    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.
    Submit
    19. An absolute path is what a server needs to locate the file being requested.

    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.

    Submit
    20. Which of the following statements about hyperlinks in the context of web development is FALSE?

    Explanation

    Hyperlinks can indeed link to specific sections within a web page using anchor tags (<a>) and ID attributes. This allows for precise navigation within a document. The other options are true: the target attribute controls how the link opens, search engines use links for indexing, and well-structured hyperlinks improve website accessibility.

    Submit
    21. An equal sign follows the attribute name.

    Explanation

    This statement is true because in many programming languages and markup languages, an equal sign (=) is used to assign a value to an attribute. For example, in HTML, attributes are commonly written as attribute="value". The equal sign is used to indicate that the attribute name is being assigned a specific value.

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

    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.

    Submit
    23. A meta tag is used to reach internet search engines.

    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.

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

    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.

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

    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.

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

    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.

    Submit
    27. A home page is the same as your index page.

    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.

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

    Explanation

    The closing tags, such as

    Submit
    29. Which format is best for high quality Web photos?

    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.

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

    Explanation

    You should use the "a" element

    Submit
    31. What is the tag that begins a list of items?

    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.

    Submit
    32. An element is composed of....

    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.

    Submit
    33. This is a tag with attributes:  <p class='info'>

    Explanation

    The given correct answer is "True" because the tag <p class='info'> is a valid HTML tag with attributes. The "class" attribute is used to define a class for the element, in this case, the value is set to "info". This allows CSS or JavaScript to target and style or manipulate the element with this specific class.

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

    Explanation

    Generally, you should specify width and height to handle space for the image and not the actual size of the image.

    Submit
    35. Which describes an element of HTML?

    Explanation

    An element in HTML represents a structure and generally consists of a start tag, content, and an end tag. This is the correct answer because it accurately describes the basic structure of an HTML element. The start tag marks the beginning of the element, the content is the information or elements contained within the element, and the end tag marks the end of the element. This structure is fundamental to HTML markup and is used to define the structure and layout of web pages.

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

    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.

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

    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.

    Submit
    38. Every Web page closes with ......body.

    Explanation

    Every Web page closes with ....../HTML

    Submit
    39. Every HTML document should have what?

    Explanation

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

    Submit
    40. Which format is used for exchanging files over the internet?

    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.

    Submit
    41. How would you add the 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.
    Submit
    42. Which statement/s about CSS are true?

    Explanation

    The correct answer is A & B. CSS goes inside the

    Submit
    43. The document type declaration, or <!DOCTYPE html>....

    Explanation

    The document type declaration, or , is placed at the very beginning of the HTML document. This declaration informs web browsers which version of HTML is being used.

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

    Explanation

    A body section is viewable to a person on the Web.

    Submit
    45. GIF does not support transparency.

    Explanation

    Does support transparency.

    Submit
    46. JPEG does not support transparency.

    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.

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

    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 openingtag marks the beginning of this section, while the closing tag marks the end.

    Submit
    48. Which describes CSS

    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.

    Submit
    49. A GIF format is/has.....

    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.

    Submit
    50. Www.newcaneynews.com

    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.

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

    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.

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

    Explanation

    A typical URL consists of a protocol, Web site name, and absolute path.

    Submit
    53. Which statement about the GIF format is incorrect?

    Explanation

    GIF stands for Graphics Interchange Format, not Generic Interchange Format. This is a common misconception. The other statements are correct: GIFs are bitmap images that can store multiple images and create animations with continuous loops.

    Submit
    54. Which formats are examples of lossless  files?

    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.

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

    Explanation

    Lossless formats do not get rid of data and lose quality.

    Submit
    56. Which is the default text size of internet web page text?

    Explanation

    The default text size of internet web page text is

    .

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

    Explanation

    You must use the tag.

    Submit
    View My Results
    Godwin Iheuwa |MS (Computer Science) |
    Database Administrator
    Godwin Iheuwa, a Database Administrator at MTN Nigeria, holds an MS in Computer Science, specializing in Agile Methodologies and Database Administration from the University of Bedfordshire and a Bachelor's in Computer Science from the University of Port Harcourt. His proficiency in SQL Server Integration Services (SSIS) and SQL Server Management Studio contributes to his expertise in database management.

    Quiz Review Timeline (Updated): Oct 2, 2024 +

    Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

    • Current Version
    • Oct 02, 2024
      Quiz Edited by
      ProProfs Editorial Team

      Expert Reviewed by
      Godwin Iheuwa
    • Mar 18, 2012
      Quiz Created by
      Jimbecka
    Cancel
    • All
      All (57)
    • Unanswered
      Unanswered ()
    • Answered
      Answered ()
    You should begin a paragraph with ....<p> ...
    HTML stands for what?
    All web pages should have an <html>, <head>, and a...
    This is an example of tags: <p></p>
    Attributes are properties used to provide additional information about...
      H1 is a larger size text than H2.  
    Which tag would be used for a line break?
    Which tag begins emphasized text
    Which tag begins a new paragraph?
    The <html> tag tells web browsers the document is an html...
    You wish your list to be in a particular order. Which tag should you...
    This is an end tag:  <b>
    An element consists of:
    Which tag would insert a graphic into a Web page?
    Use this tag to emphasize text.
    Every Web page opens with HTML.
    The first part of a URL (http) describes the resource used to retreive...
    Creates horizontal lines
    An absolute path is what a server needs to locate the file being...
    Which of the following statements about hyperlinks in the context of...
    An equal sign follows the attribute name.
     less-than and greater-than angle brackets surrounding an element...
    A meta tag is used to reach internet search engines.
    What allows you to transfer your html files to a Web server?
    Even though a GIF is lossless, it is a compressed format (Reduces...
    The head section of a Web page goes to the Internet and is not visible...
    A home page is the same as your index page.
    Correct the tags! ...
    Which format is best for high quality Web photos?
    Whenever you want to make a link you should use the element (e) tag.
    What is the tag that begins a list of items?
    An element is composed of....
    This is a tag with attributes:  <p class='info'>
    A general rule is that the element width and height attributes should...
    Which describes an element of HTML?
    Like all tags, the <img> requires a closing tag.
    Which is an attribute:  <a...
    Every Web page closes with ......body.
    Every HTML document should have what?
    Which format is used for exchanging files over the internet?
    How would you add the background color yellow?
    Which statement/s about CSS are true?
    The document type declaration, or <!DOCTYPE html>....
    A head section is visible to a person viewing the Web page.
    GIF does not support transparency.
    JPEG does not support transparency.
    What is the tag beginning the section of the Web page that is visible...
    Which describes CSS
    A GIF format is/has.....
    Www.newcaneynews.com
    Why is it not a good idea to use the element width and height...
    A typical URL consists of a lead, transition, and summary.
    Which statement about the GIF format is incorrect?
    Which formats are examples of lossless  files?
    A lossy format means the file does not get rid of data and lose...
    Which is the default text size of internet web page text?
    It is acceptable to add quotation marks to Web page text.
    Alert!

    Advertisement