This article mainly introduces how to use tables to write the homepage of a website. Simply use the table tag and its sub-tags to insert Chinese characters in pictures. You can also use nesting to complete it. Interested friends can refer to it.
Code display
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>HTML表格练习之大学首页信息</title> </head> <body> <table border="0" width="100%" height="100%"> <tr> <td colspan="2"><img src="img/4.jpg.png"></td> </tr> <tr> <td align="center" height="60px" bgcolor="royalblue" width="100%" ><a href="#"><font face="宋体" color="white" size="4">网站首页 学校概况 教学单位 机构设置 人才培养 学术研究 招生就业 合作交流 校园生活</font></a></td> </tr> <tr> <td><img alt="校园会议" src="img/2.jpg"></td> </tr> <tr> <td align="center"><img src="img/5.jpg"></td> </tr> <tr> <td align="center"><img src="img/3.jpg"></td> </tr> <tr> <td><img src="img/6.jpg"/></td> </tr> </table> </body> </html>
Related recommendations:
Angular table table operation Its sorting
How to scroll the table table in element-ui
How to use jquer to realize table row row interaction Change
How to add ellipses function in table
The above is the detailed content of HTML uses tables to write home page. For more information, please follow other related articles on the PHP Chinese website!