Jump to content
Sign in to follow this  
Rifat Al Rajo

what is the basic HTML code?

Recommended Posts

How far have you gotten and which part is giving you trouble?

Share this post


Link to post
Share on other sites

Try posting a code snippet, maybe that will illustrate what you're having issues with.

Share this post


Link to post
Share on other sites

Hello, @Rifat Al Rajo

Try this code to generate Table in HTML

<html>
    <head>
        <title>table-layout</title>
    </head>
    <body>
        <table border="1" width="50%" height="50%" style="text-align: center;">
            <tr>
                <td colspan="5">1</td>
            </tr>
            <tr>
                <td colspan="3">2</td>
                <td colspan="2" rowspan="3">3</td>
            </tr>
            <tr>
                <td rowspan="3">4</td>
                <td colspan="2">5</td>
            </tr>
            <tr>
                <td rowspan="2">8</td>
                <td rowspan="2">9</td>
            </tr>
            <tr>
                <td>6</td>
                <td>7</td>
            </tr>
        </table>
    </body>
</html>

 

I hope above information will be useful for you.


Thank you.

Share this post


Link to post
Share on other sites

        <table border="1" width="50%" height="50%">
            <tr>
                <td colspan="5">1</td>
            </tr>
            <tr>
                <td colspan="3">2</td>
                <td colspan="2" rowspan="3">3</td>
            </tr>
            <tr>
                <td rowspan="3">4</td>
                <td colspan="2">5</td>
            </tr>
            <tr>
                <td rowspan="2">8</td>
                <td rowspan="2">9</td>
            </tr>
            <tr>
                <td>6</td>
                <td>7</td>
            </tr>
        </table>
   
Edited by shaili_shah

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...