Close Menu
    Facebook X (Twitter) Instagram
    Oixiesoft
    • Home
    • Services
      • WordPress Malware Removal
      • Fix WordPress Errors
      • WordPress Website Development
    • Articles
    • Contact
    Oixiesoft
    Home»Tutorial»html»HTML Tables
    html

    HTML Tables

    Editorial StaffBy Editorial StaffUpdated:April 23, 2022No Comments1 Min Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    What are HTML Tables?

    Tables are defined with the <table> tag .

    • A table is divided into rows and columns.
    • Each table row is using the <tr> tag and must be enclosed in </tr>tags
    • Each table row is divided into data cells (using the <td> tag ).
    • Td stands for “data table” and is the contents of a data cell.
    • A data cell can contain text, images, lists, paragraphs, forms, horizontal lines, tables, and so on.

    Example of Html Table

    <!DOCTYPE html>
    <html>
    <body>
    <h2>Html Table</h2>
    <table style="width:100%">
      <tr>
        <td>Apple</td>
        <td>Mango</td>
      </tr>
     <tr>
    <td>16</td>
    <td>14</td>
    </tr>
    <tr>
    <td>26</td>
    <td>34</td>
    </tr>
    </table>
    
    </body>
    </html>
    

    Output

    Html Table

    Apple Mango
    16 14
    26 34

    HTML Table Tags

    <table>Describes a table.

    <th>Describes a table header cell.

    <tr>Represents a table row.

    <td>Represents a cell in the table.

    <captation>Defines a field associated with the table for entering an explanation.

    <colgroup>Defines groups of columns in the table.

    <col>Characterizes attribute values for one or more columns in a table.

    <thead>Describes a table header that will not scroll.

    <tbody>Defines the body of a table that unfolds inside a fixed table header and the footer of the table.

    <tfoot>Represents a table footer that will not scroll.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr Email
    Editorial Staff

    Related Posts

    CodeIgniter vs Laravel: A Detailed Side-by-Side Comparison

    Python Arrays

    Python Lambda

    • HTML Introduction
    • HTML Editors
    • HTML Tags
    • HTML Attributes
    • HTML Headings
    • HTML Paragraphs
    • HTML Comments
    • HTML Styles
    • HTML Text Formatting
    • HTML Colors
    • HTML links
    • HTML Images
    • HTML Styles – CSS
    • HTML Tables
    • HTML Lists
    • HTML Forms
    Services
    • Web Development
    • Mobile Application Development
    • WordPress Malware Removal Service
    • Website Design
    • WordPress Development
    • Magento Development
    • Shopify Development
    • SEO Services
    Blog
    • How to Fix the Error Establishing a Database Connection
    • Ping List WordPress
    • How To Fix Japanese Keyword Hack
    • How to remove Malware from WordPress
    Hire Developers
    • Hire WordPress Developer
    • Hire Shopify Developer
    Contact Info
    • Oixiesoft Technologies
      A-40, Block A, I thum Tower, Sector 62, Noida
    • sales@oixiesoft.com
    • Privacy Policy
    • About Us
    • Contact Us
    © 2025 OixieSoft Technologies

    Type above and press Enter to search. Press Esc to cancel.