日期:2014-05-17  浏览次数:20602 次

这个html应该怎么写???

这个是word的一张确认单

现在需要网页的页面显示,然后打印,求html·····

万分感谢····
HTML

------解决方案--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<style type="text/css">
body{ text-align:center;}
.table_a{ width:800px; margin:0 auto; text-align:left; line-height:30px;}
.table_a b{ font-size:16px; text-align:center; margin:0 auto; display:block; height:26px; line-height:26px;}
.table_a label{ border-bottom:1px solid #000;}
</style>
</head>
<body>
<div class="table_a">
<b><label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>工地回迁选房确认单(存跟)</b>
&nbsp;&nbsp;&nbsp;&nbsp;产权人<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
使用人<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>,
回迁选房顺序第<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>号,
经本人自愿选房,选择<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>安置房(楼名称),
<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>座<label>房间号</label>室.<br />
&nbsp;&nbsp;&nbsp;&nbsp;此据!.....................<br />
&nbsp;&nbsp;&nbsp;&nbsp;联系电话<br />
<div style="text-align:right;">
选房人(签章):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
经办:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
<HR />
</div>
</div>
</body>
</html>

label标签里的内容就是下划线的效果