<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>html表格</title> <link rel="stylesheet" href=""> </head> <body> <!-- table标签:A declaration table -> td and th tags: the definition of a cell in a row, td representative of normal cells, th Representative header cell tr tag: line definition table in the < H3 > Products </ H3 > <-! Border: Border, width: Width, height: Height -> < Table border = ". 1" width = "300" height = '150' > < TR > < TH > number </ TH > < TH > name </ TH > < TH > price </ TH > < TH > quantity </ TH > </tr> <TR > <-! align = left: Center: Set the middle level left: Left alignment right: Right alignment middle: vertical center setting (this is the default) -> < TD align = left = "Center" > . 1 </ TD > < td > Apple </ td > < td > ¥ 5.00 </ td > < td > 1000 </ td > </ TR > < TR > <td align="center">2</td> <td>橘子</td> <td>¥4.00</td> <td>2000</td> </tr> </table> <h3>个人简历表</h3> <table border="1" width="600" height="300"> <tr> Colspan: as a combined n<-!-> < TD colspan = ". 5" align = left = "left" > BASIC </ TD > </ TR > < TR > <-! Rowspan: Behavior combined line n -> < TD width = "18 is%" > name </ TD > < TD width = "18 is%" > </ TD > < TD width = "18 is%" > gender </ TD > <td width="18%"></td> < Td rowspan = "5" width = "28%" align = left = "Center" > < img src = "../../ aircraft war /image/hero.jpg" alt = "images of people" > </ td > </ TR > < TR > < td > national </ td > < td > </ td > < td > Birthday </ td > < td > </ td > </tr> <tr> < Td > Political affiliation </ td > < td > </ td > < td > health </ td > < td > </ td > </ TR > < TR > < td > Hometown </ td > < td > </ TD > < TD > degree </ TD > < TD > </ TD > </tr> <TR > < td > email </ td > < td > </ td > < td > Phone </ td > < td > </ td > </ TR > </ the Table > </ body > </ HTML >