<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="zh-CN" xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <table border="1" width="100%"> <tr> <th axis="name">名字</td> <th axis="contact">电子邮件</td> <th axis="contact">电话</td> <th axis="contact">地址</td> </tr> <tr> <td axis="name">John Doe</td> <td axis="contact">someone@example.com</td> <td axis="contact">+45342323</td> <td axis="contact">Rosevn 56,4300 Sandnes,Norway</td> </tr> </table> <p><b>注意:</b>所有主流浏览器都不支持axis属性。</p> </body> </html>
结果:
编辑上面的代码,点击查看结果。
yige.org
- 试一个