How to use rowspan and colspan in HTML5

Posted by Manideepgoud under HTML 5 category on | Points: 40 | Views : 1603
In this code we will learn how to create multiple values in heading of the table using rowspan and colspan
<!DOCTYPE html>
<title>Table Heading</title>
<table border="1" style="border-collapse:collapse">
<th rowspan="2">Google</th>
<th rowspan="2">Facebook</th>
<th rowspan="2">Whatsapp</th>
<th rowspan="2">DotNetFunda</th>
<th colspan="3">2017</th>

Comments or Responses

Login to post response