Table with Colspan and Rowspan HTML
In this example I will be showing you how to make different col and row with table in HTML
<html> <head> <!-- Title is what you see when you open a tab for you website. So for this the title would be "Title of the website" --> <title>Title of the website</title> </head> <body> <!-- This is what you see on a website --> <table border="1"> <tr> <!-- Colspan will put x square in 1 From Left to Right --> <th colspan="2">Title</th> </tr> <tr> <td>Hello World 1</td> <!-- Rowspan will put x square in 1 From Top to Bottom --> <td rowspan="2">Hello World 2</td> </tr> <tr> <td>Hello World 3</td> </tr> </table> </body> </html>
Total Views: 892
My name is Jean-Mathieu
I created this website so other people could enjoy finding useful stuff easier. If you have any question do not hesitate to contact me.
|jean8mathieu||Created on 09/20/14|
Disclosure: We are a website that needs compensation to operate like any other website on the internet.
We may receive consideration for our reviews but we are totally unbiased and do not accept paid reviews or fake reviews claiming to be something they are not.