table spans : table rowspan « Tags « HTML / CSS

table spans


<?xml version"1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
    <title>Using colspan and rowspan</title>
    <table border="1" summary="Prices for types of pizza by size">
    <caption>Our Pizza Selections</caption>
        <th rowspan="5" scope="row">Pizza<br />Type</th>
        <th colspan="4" scope="col">Size</th>
         <th scope="col">Small</th>
         <th scope="col">Medium</th>
         <th scope="col">Large</th>
        <td scope="row">Thin Crust</td>
        <td scope="row">Deep Dish</td>
        <td>Stuffed Crust</td>


Related examples in the same category

1.'rowspan' determines how many table rows a cell can span
2.Spanning rows
3.CSS rowspan test