hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which tag is used to create a table in the latest version of HTML?
    Question



    Which tag is used to create a table in the latest version of HTML?

    A.

    <div>

    B.

    <table>

    C.

    <grid>

    D.

    <html-table>

    E.

    <section>

    Correct option is B

    In HTML (including the latest version, HTML5), the <table> tag is used to create a table structure in a webpage. It is accompanied by other related tags like <tr> (table row), <td> (table cell), and <th> (table header).
    Important Key Points:
    1. The <table> tag remains unchanged in HTML5 and is the standard way to create tables in HTML documents.
    2. Supporting tags include:
    · <thead> for defining table headers.
    · <tbody> for grouping table rows.
    · <tfoot> for defining the table footer.
    3. HTML5 introduced new semantic tags like <section> and <article>, but the <table> tag remains for tabular data.
    Knowledge Booster:
    · <div>: Used as a container for grouping elements but does not create tables.
    · <grid>: Not a valid HTML tag; CSS Grid is used for layout, but it doesn’t use a tag.
    · <html-table>: Not a valid HTML tag; <table> is the correct choice.
    · <section>: Used for defining sections of a webpage, not for creating tables.

    Free Tests

    Free
    Must Attempt
    Video Solutions

    RBI Assistant Pre 2026 Advance Level Mock Test -01

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt

    RBI Asst Prelims 2026: Quant Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    RBI Asst Prelims 2026: Reasoning Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    test-prime-package

    Access ‘IBPS SO IT Officer’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow