人機界面(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>
返回
乌鲁木齐县| 当阳市| 南雄市| 巨鹿县| 汉川市| 延安市| 疏附县| 尖扎县| 通城县| 永新县| 河曲县| 宜兰市| 古浪县| 肥城市| 鹤岗市| 永德县| 江山市| 弥勒县| 石嘴山市| 长乐市| 新绛县| 丹棱县| 武川县| 黄浦区| 青岛市| 沾益县| 苗栗县| 清徐县| 苏州市| 绥棱县| 尉氏县| 衡山县| 都江堰市| 达拉特旗| 栾城县| 保德县| 吉隆县| 息烽县| 南城县| 手游| 廉江市|