HTML Table: Setting table height

This entry is part 6 of 16 in the series HTML Table

Height could also be set for HTML table.  This is done in the table tag. The example below set the height of the table to have 100 pixels.

<table height='100px'>
Setting Table Height
<!DOCTYPE html>
<head lang='en'>     
    <meta charset='UTF-8'>
    <title> Table</title>

<table border='1' width='100%' height='100px'>
        <td>Rod Stewart</td>
        <td>Maggie May</td>

Setting Table Height Output
Series Navigation<< HTML Table: Setting the size of the table in pixel
HTML Table: Specifying the width of a column >>

Leave a comment

Leave a Reply