Quiz On Image And Table

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 Rizs Lopez
R
Rizs Lopez
Community Contributor
Quizzes Created: 1 | Total Attempts: 366
Questions: 32 | Attempts: 367

SettingsSettingsSettings
Quiz On Image And Table - Quiz

Good luck swithart!


Questions and Answers
  • 1. 

    In HTML, images are defined with the <img> tag.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The given statement is true. In HTML, images are defined using the tag. This tag is a self-closing tag, meaning it does not require a closing tag. The tag is used to insert an image into an HTML document. It requires the "src" attribute, which specifies the URL or file path of the image. Other attributes such as "alt" (alternative text), "width", and "height" can also be added to provide additional information about the image.

    Rate this question:

  • 2. 

    The <img> tag is empty, it contains attributes only, and does not have a closing tag.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The tag in HTML is used to embed an image into a webpage. It is a void element, which means it does not require a closing tag. Instead, it contains attributes such as src, alt, and width, which define the properties of the image. Therefore, the statement that the tag is empty, contains attributes only, and does not have a closing tag is true.

    Rate this question:

  • 3. 

    The scr attribute specifies the URL (web address) of the image.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The explanation for the given correct answer is that the statement is incorrect. The correct attribute to specify the URL of an image is "src" and not "scr". Therefore, the answer is false.

    Rate this question:

  • 4. 

    By default, table headings are bold and centered.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Table headings are typically formatted in a bold and centered style by default. This formatting helps to distinguish the headings from the rest of the table content and make them more visually prominent. By using bold and centered text, table headings are easier to read and understand, providing a clear structure to the table data. Therefore, the statement "By default, table headings are bold and centered" is true.

    Rate this question:

  • 5. 

    The value of the alt attribute should describe the image

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The value of the alt attribute should describe the image. This is true because the alt attribute is used to provide alternative text for an image, which is important for accessibility purposes. The text should accurately and concisely describe the content and function of the image, allowing visually impaired users or those using assistive technologies to understand the image's context and meaning.

    Rate this question:

  • 6. 

    The length and thick attributes always defines the width and height of the image in pixels.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement is false because the length and thick attributes do not define the width and height of an image in pixels. The correct attributes to define the width and height of an image in pixels are width and height attributes. The length and thick attributes are not standard attributes for defining the dimensions of an image.

    Rate this question:

  • 7. 

    An HTML table is defined with the <tbl> tag.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The correct answer is False because an HTML table is defined with the tag, not the tag.

    Rate this question:

  • 8. 

    Each table row is defined with the <trow> tag.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The given statement is false. Each table row is actually defined with the tag, not the tag.

    Rate this question:

  • 9. 

    A table header is defined with the <th> tag

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    A table header is defined with the tag. This is true because in HTML, the tag is used to define a header cell in a table. It is typically used to label the columns or rows in a table, providing a clear and concise description of the data in that particular column or row.

    Rate this question:

  • 10. 

    To specify table borders in CSS, use the border property

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    To specify table borders in CSS, the correct property to use is the "border" property. This property allows you to define the style, width, and color of the borders around the table or its elements. By setting the appropriate values for the border property, you can create borders that are solid, dashed, or dotted, and also control their thickness and color. Therefore, the statement "True" is correct in stating that the "border" property is used to specify table borders in CSS.

    Rate this question:

  • 11. 

    If you do not specify a border for the table, it will be displayed without borders.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    If a border is not specified for a table, it means that no border will be displayed around the table. This is because the default value for the border property in HTML is usually set to 0 or none. Therefore, the statement "If you do not specify a border for the table, it will be displayed without borders" is true.

    Rate this question:

  • 12. 

    To make a cell span more than one column, use the rowspan attribute.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement is incorrect. To make a cell span more than one column, the correct attribute to use is "colspan", not "rowspan". The "rowspan" attribute is used to make a cell span more than one row.

    Rate this question:

  • 13. 

    Use the HTML <caption> element to define a table caption

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The HTML element is used to define a caption for a table. It is placed immediately after the opening tag and provides a brief description or title for the table. By using the element, developers can improve the accessibility and clarity of their tables by providing additional context or information about the table's content. Therefore, the statement "Use the HTML element to define a table caption" is true.

    Rate this question:

  • 14. 

    Use the HTML <td> element to define a table data

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The HTML element is used to define a single cell within a table. It is used to hold data and is typically placed within a (table row) element. Therefore, the statement "Use the HTML element to define a table data" is correct.

    Rate this question:

  • 15. 

    The alt attribute provides an alternate text for an image, if the user for some reason cannot view it.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The alt attribute is used to provide alternative text for an image. This text is displayed if the image cannot be viewed for any reason, such as if the user has disabled images or if there is an error in loading the image. By including alternative text, users who cannot view the image can still understand the content and context of the image. Therefore, the statement "The alt attribute provides an alternate text for an image, if the user for some reason cannot view it" is true.

    Rate this question:

  • 16. 

    JPEG stands for

    • A.

      Joint Photographic Experts Group

    • B.

      Join Photographic Experts Group 

    • C.

      Joint Photographers Experts Group

    • D.

      Join Photographers Experts Group

    Correct Answer
    A. Joint pHotograpHic Experts Group
    Explanation
    JPEG stands for Joint Photographic Experts Group. This is an international committee that developed the JPEG image compression standard. JPEG is widely used for compressing and storing digital images, as it allows for high compression ratios while maintaining reasonable image quality.

    Rate this question:

  • 17. 

    GIF stands for

    • A.

      Graphics Interchange File                 

    • B.

      Graphics Interchange Format   

    • C.

      Graphical Interchange Format

    • D.

      Graphics Exchange Format

    Correct Answer
    B. GrapHics Interchange Format   
    Explanation
    GIF stands for Graphics Interchange Format. This file format is commonly used for images and animations. It was developed by CompuServe in 1987 and has become widely popular due to its ability to support simple animations and its small file size. The format uses lossless compression, which means that the image quality is not compromised during compression. GIF files can be easily shared and viewed on various platforms, making it a popular choice for internet graphics.

    Rate this question:

  • 18. 

    It is a set of standards and file format for storage of digital color images and short animations.

    • A.

      Jpg                                                                                                    

    • B.

      Png    

    • C.

      Gif  

    • D.

      Jpeg

    Correct Answer
    C. Gif  
    Explanation
    The correct answer is gif. GIF stands for Graphics Interchange Format and it is a file format commonly used for storing digital color images and short animations. JPEG (jpg) is another file format used for storing digital images, but it is not specifically designed for animations. PNG is a file format used for lossless compression of digital images, but it does not support animations. Therefore, the correct answer is gif.

    Rate this question:

  • 19. 

    It indicates the alternate text for an image that cannot be displayed.

    • A.

      Src                                                                                      

    • B.

      Height  

    • C.

      Width

    • D.

      Alt

    Correct Answer
    D. Alt
    Explanation
    The "alt" attribute is used to provide alternative text for an image when it cannot be displayed. This text is important for accessibility purposes, as it allows visually impaired users or those with slow internet connections to understand the content of the image. The "alt" attribute is also used by search engines to understand the context of the image and improve its indexing.

    Rate this question:

  • 20. 

    It indicates the image to be inserted.

    • A.

      Src                                                                                        

    • B.

      Height  

    • C.

      Width

    • D.

      Alt

    Correct Answer
    A. Src                                                                                        
    Explanation
    The correct answer is "src". In HTML, the "src" attribute is used to specify the source file or URL of an image that is to be inserted into the webpage. It indicates the location or path of the image file that the browser should load and display.

    Rate this question:

  • 21. 

    It indicates the width of the image in pixels.

    • A.

      Height                                                    

    • B.

      Width  

    • C.

      Thickness

    • D.

      Length

    Correct Answer
    B. Width  
    Explanation
    The explanation for the correct answer is that the given statement indicates that the answer is "width". It states that the information provided indicates the width of the image in pixels.

    Rate this question:

  • 22. 

    It makes data easier to interpret and it is organized into rows and columns.

    • A.

      Table

    • B.

      List

    • C.

      Chart

    • D.

      Image

    Correct Answer
    A. Table
    Explanation
    A table is a data representation format that organizes information into rows and columns. This format makes it easier to interpret and analyze data as it provides a clear structure and allows for easy comparison and sorting of data. Tables are commonly used in various fields such as statistics, finance, and database management. They provide a systematic and organized way to present data, making it more accessible and understandable for users.

    Rate this question:

  • 23. 

    It adds rows on your table

    • A.

      <row>

    • B.

      <rows>

    • C.

      <trow>

    • D.

      <tr>

    Correct Answer
    A. <row>
    Explanation
    The given answer "<row>" is correct because it is the opening tag for adding a new row in an HTML table. The other options "<rows>", "<trow>", and "<tr>" are not valid HTML tags for adding new rows in a table.

    Rate this question:

  • 24. 

    It adds columns on your table

    • A.

      <tr>    

    • B.

      <td>  

    • C.

      <table>

    • D.

      <caption>

    Correct Answer
    B. <td>  
  • 25. 

    The colspan attribute can be added on

    • A.

      <td>

    • B.

      <image>

    • C.

      <tr>

    • D.

      <table>

    Correct Answer
    A. <td>
    Explanation
    The colspan attribute can be added on the element to specify the number of columns the cell should span in a table. This attribute allows for the merging of multiple table cells horizontally, effectively increasing the width of the cell.

    Rate this question:

  • 26. 

    It creates a table header

    • A.

      <table>

    • B.

      <td>

    • C.

      <th>

    • D.

      <tr>

    Correct Answer
    C. <th>
    Explanation
    The element is used to define a header cell in an HTML table. It is typically used to create the first row of a table, which is often used to display column labels. In this case, the element is being used correctly to create a table header.

    Rate this question:

  • 27. 

    It inserts an animated image

    • A.

      <img src=heart.gif>

    • B.

      <img src=heart.jpeg>

    • C.

      <img src=heart.jpg>

    • D.

      <img src=heart.png>

    Correct Answer
    A. <img src=heart.gif>
    Explanation
    The correct answer is "". The given code is using the HTML tag to insert an image into the webpage. The "src" attribute specifies the source file of the image. In this case, the source file is "heart.gif". Therefore, the correct answer is the code that includes the "heart.gif" file as the image source.

    Rate this question:

  • 28. 

    It creates a table that has 300 pixels wide.

    • A.

      <table border=1  wide=300> 

    • B.

      <table border=1  height=300>

    • C.

      <table boarder=1  width=300>

    • D.

      <table border=1  width=300>

    Correct Answer
    D. <table border=1  width=300>
    Explanation
    The correct answer is "". This is because the "width=300" attribute specifies that the table should have a width of 300 pixels. The other options either have a typo or use the "height" attribute instead of "width".

    Rate this question:

  • 29. 

    It applies a background color on a row.

    • A.

      Td {background-color:blue;}

    • B.

      Th {background-color:blue;}  

    • C.

      Body {background-color:blue;}

    • D.

      Tr {background-color:blue;}

    Correct Answer
    D. Tr {background-color:blue;}
    Explanation
    The given CSS code applies a background color of blue to all table rows (tr) in the HTML document. This means that all rows in a table will have a blue background color. The other CSS selectors in the code (td, th, and body) also set a blue background color, but the correct answer specifically targets the table rows (tr) to apply the background color.

    Rate this question:

  • 30. 

    It applies a text color on a table header.

    • A.

      Th {color:green;}

    • B.

      Tr {color:green;} 

    • C.

      Body {color:green;}

    • D.

      Td {color:green;}

    Correct Answer
    A. Th {color:green;}
    Explanation
    The given code snippet applies a green color to the text of the table header (th) elements.

    Rate this question:

  • 31. 

    It is the keyboard shortcut in saving files in Mac.

    • A.

      Shift S

    • B.

      Option S 

    • C.

      Command S

    • D.

      Control S

    Correct Answer
    C. Command S
    Explanation
    The correct answer is Command S. In Mac, the Command S keyboard shortcut is used to save files. This shortcut allows users to quickly save their work without having to navigate through menus or use the mouse. By pressing Command S, the current file is saved with any changes made since the last save. This shortcut is commonly used in various applications and is an efficient way to ensure that work is saved regularly.

    Rate this question:

  • 32. 

    It is a word processor developed by Apple Inc

    • A.

      Numbers 

    • B.

      Keynotes

    • C.

      Pages

    • D.

      Siri

    Correct Answer
    C. Pages
    Explanation
    Pages is a word processor developed by Apple Inc. It is designed specifically for macOS and iOS operating systems. Pages allows users to create, edit, and format documents, including text documents, reports, resumes, and letters. It offers a range of templates, formatting options, and collaboration tools to enhance productivity and creativity. With its intuitive interface and seamless integration with other Apple devices and software, Pages is a popular choice for individuals and businesses looking for a powerful and user-friendly word processing solution.

    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
  • Sep 02, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 05, 2020
    Quiz Created by
    Rizs Lopez
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.