人機界面(HTML表格)范例

返回

關(guān)閉畫面指令
<a href="javascript:window.close()">閉じる</a>

表格的并列,關(guān)鍵使用align="left"!
中國廠家A 中國廠家B 中國廠家C
中國廠家D 中國廠家E 中國廠家F
中國廠家G 中國廠家H 中國廠家I
日本廠家A 日本廠家B 日本廠家C
日本廠家D 日本廠家E 日本廠家F
日本廠家G 日本廠家H 日本廠家I


主機零件表范例1,主機Type,Serial No.2443,DWG
ITEM name code QTY unit weight price
MAIN SHAFT BEARING
1 LOCKING WIRE,BOLT &NUT 114062 50 PCS 0.5 10
2 LOCKING WIRE,PITON PIN NUT 235211 50 PCS 0.5 10

主機零件表范例2,主機Type,Serial No.Detroit Diesel Series 50TM,DWG
ITEM name code QTY unit weight price
12.4A Air Compressor
12.4A 039 Gasket, Air Compressor Drive Housing
1 Gasket(1.5040):USE:23515145 23511871 3 PCS xx xx
2 Gasket(1.5040) 23515145 3 PCS xx xx
12.4A Air Compressor
12.4A 040 Hub, Air Compressor
3 HUB 08929721 5 PCS xx xx
4 NUT, M20X2 1/2 11506017 5 PCS xx xx

HTML基本網(wǎng)頁

<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE>題目</TITLE> <style type="text/css"> body { background:lightcyan; color:black; margin-left:2em;margin-right:2em;} </style> </HEAD> <BODY> 內(nèi)容 </BODY> </HTML>

HTML表格例子1

<table width=80% align="center" border=1 cellpadding=5> <tr bgcolor="#FFD700" align="center"> <th width=10%>ID</th> <th width=40%>Name</th> <th width=20%>memo</th> <th width=10%>修正釦</th> </tr> <TMPL_LOOP NAME="this_loop"> <tr bgcolor="#F0FFF0" align="left"> <td><TMPL_VAR NAME="id"></td> <td><TMPL_VAR NAME="name"></td> <td><TMPL_VAR NAME="memo"></td> <td><form action="" method="post"> <input type="submit" value="修正"><p> <input type="hidden" name="rm" value="modeshowone"> </form></td> </tr> </TMPL_LOOP> </table>

HTML表格例子2

<table width=85% align="center" border=1 cellpadding=5> <!-- 題目 --> <tr bgcolor="#FFD700" align="center"> <th width=5%>ID</th> <th width=10%>名稱</th> <th width=70%>內(nèi)容</th> <th width=5%>修正釦</th> </tr> <!-- 循環(huán)指定 --> <TMPL_LOOP NAME="LOOP"> <tr bgcolor="#F0FFF0" align="left"> <td rowspan=2><TMPL_VAR NAME="id"></td> <td>company</td> <td><TMPL_VAR NAME="company"></td> <td rowspan=2> <form action="" method="post"> <input type="submit" value="修正"><p> <form action="" method="post"> <input type="hidden" name="rm" value="modeshowone"> </form> </td> </tr> <tr bgcolor="#F0FFF0" align="left"> <td>address</td> <td><TMPL_VAR NAME="address"></td></tr> </TMPL_LOOP> </table>
返回
兴国县| 浏阳市| 晋中市| 绥中县| 万宁市| 河北省| 龙泉市| 湾仔区| 保亭| 珲春市| 车致| 舒兰市| 海城市| 禹州市| 格尔木市| 习水县| 大兴区| 时尚| 棋牌| 山丹县| 富源县| 哈尔滨市| 中阳县| 河间市| 邹城市| 中西区| 扎囊县| 正镶白旗| 师宗县| 驻马店市| 土默特右旗| 鸡西市| 江油市| 南安市| 镇原县| 体育| 丁青县| 绥棱县| 延吉市| 黔江区| 巨野县|