-
编写实现如图所示页面效果的HTML代码并提交。其中,A、 B、C、D、E加粗显示,它们都位于各自单元格的正中间,A单元格的高度为200像素,宽度为100像素,B单元格的高度为100像素,宽度为200像素,C单元格的宽度为100像素,高度为200像素。(在浏览器中展示时表格居中
这里注意colspan与rowspan的用法
colspan是横跨列rowspan是横跨行
width=300这里指300像素
border 是边框属性,等于1是指边框像素是1 -
< //说明要使用html5标准
/><title>第九题</title> <meta charset="UTF-8"> </head> <body> <table align="center" border="1" width="300" height="300" cellspacing="0" > <tr> <td rowspan="2" width="100" height="200" align="center"> <strong> A</strong> </td> <td colspan="2" width="200" heigh="100" align="center"> <strong>B</strong> </td> </tr> <tr > <td width="100" align="center" hight="100"> <strong>E</strong></td> <td width="100" rowspan="2" height="200" align="center"><strong>C</strong></td> </tr> <tr> <td width="200" height="100" colspan="2" align="center"><strong>D</strong></td> </tr> </table> </body>
-
编写实现如图所示页面效果的HTML代码并提交。(1. 在浏览器中展示时表格居中 2.实现效果不包含最外面黑色边框线)在这里插入图片描述
在这里插入图片描述不知为何无法连续插入两个图片
<!DOCUTYPE html>
<html>
<head>
<title>雪梨作业第10题</title>
<meta charset="UTF-8"/>
</head>
<body>
<h1 align="center">企业账户注册</h1>
<form method="post" action="#">
<table align="center" border="1" cellspacing="0" >
<tr>
<td width="100" height="35" align="right"