• HTML,CSS,PHP,JAVASCRIPT ALL WEBDEVELOPMENT INFORMATION HINDI

    Tuesday, 28 February 2017

    html tables

    .html tables and tags hindi

    HTML तालिकाओं <table> टैग जिसमें <tr> टैग तालिका पंक्तियों को बनाने के लिए प्रयोग किया जाता है और <td> टैग data cells को बनाने के लिए प्रयोग किया जाता है|



    exa-

    <!DOCTYPE html>
    <html>
    <head>
    <title>HTML Tables</title>
    </head>
    <body>
    <table border="1">
    <tr>
    <td>Row 1, Column 1</td>
    <td>Row 1, Column 2</td>
    </tr>
    <tr>
    <td>Row 2, Column 1</td>
    <td>Row 2, Column 2</td>
    </tr>
    </table>
    </body>

    </html>

    Table heading- table शीर्षक <th> टैग का उपयोग कर परिभाषित किया जा सकता है। इस टैग <td> टैग, जो वास्तविक data cell का प्रतिनिधित्व करने के लिए प्रयोग किया जाता है को बदलने के लिए रखा जाएगा। आम तौर पर आप table के रूप में नीचे दिखाया गया बढ़ रहा है के रूप में अपने table heading में डाल दिया जाएगा, or आप किसी भी पंक्ति में <th> तत्व का उपयोग कर सकते
    exa-


    <!DOCTYPE html>
    <html>
    <head>
    <title>HTML Table Header</title>
    </head>
    <body>
    <table border="1">
    <tr>
    <th>Name</th>
    <th>Salary</th>
    </tr>
    <tr>
    <td>ujjual</td>
    <td>3000</td>
    </tr>
    <tr>
    <td>ravikumar</td>
    <td>5000</td>
    </tr>
    </table>
    </body>
    </html>
    result-
    ujjual        =          3000
    ravikumar =          5000

    Html adding a caption tag-
    table use <caption> tag

    No comments:

    Post a Comment

    Contact

    Name

    Email *

    Message *

    Pages