javascript网页开发 第二章
HTML高級部分
2.1.?? 表格標簽
2.1.1 <table></table>
??? Bgcolor 設置表格的背景色
??? Border 設置邊框的寬度
???????? Bordercolor 設置邊框的顏色
???????? Bordercolorlight 設置邊框明亮部分的顏色
???????? Bordercolordark 設置邊框昏暗部分的顏色
???????? Cellspacing 設置單元格之間的間隔大小
???????? Cellpadding設置單元格與其內部內容之間的間隔大小
???????? Width 設置表格的寬度
???????? Htight 設置表格的高度
2.1.2 <tr></tr><td></td>
????????
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
??? <title>無標題頁</title>
</head>
<body>
??? <table border="1">
??????? <tr>
??????????? <td>姓名</td>
??????????? <td>性別</td>
??????????? <td>年齡</td>
??????? </tr>
??????? <tr>
??????????? <td>王康</td>
??????????? <td>男</td>
??????????? <td>22</td>
??????? </tr>
??? </table>
</body>
</html>
?
2.1.3 <th></th><caption></caption>
2.2.?? 幀標簽
2.2.1 <frameset></frameset>
???????? 用來定義框架集中有幾個幀。
2.2.2 <frame></frame>
?????????????????? 定義具體一個幀的窗體
2.2.3 <noframes><noframes>
???????? 用來在那些不支持幀的瀏覽器中顯示文本或圖像信息。
2.2.4 <iframe><iframe>
???????? 用來在一個網頁中間插入一個簡單的幀窗體。
2.3.?? 表單標簽
2.3.1.??????????? <form></form>
2.3.2.??????????? <input type=”submit”>
2.3.3.??????????? <input type=”reset”>
2.3.4.??????????? <input tyoe=”text”>
2.3.5.??????????? <input type=”checkbox”>
2.3.6.??????????? <input type=”radio”>
2.3.7.??????????? <input type=”hidden”>
2.3.8.??????????? <input type=”password”>
2.3.9.??????????? <input type=“button”>
2.3.10.??????? <input type=”file>
2.3.11.??????? <input type=”image”>
2.3.12.??????? <select></select><option></option>
2.3.13.??????? <textarea></textarea>
2.3.14.??????? <label>標簽
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
??? <title>無標題頁</title>
</head>
<body>
??? <label for="usr" accesskey="a">用戶名(<u>a</u>):</label>
??? <input type="text" name="user" id="usr" /><br />
??? <label for="pas" accesskey="b">密碼(<u>b</u>):</label>
??? <input type="password" name="pass" id="pas" /><br />
??? 性別<input type="radio" name="sex" id="male" />
??? <label for="male" accesskey="c">男(<u>c</u>)</label>
??? <input type="radio" name="sex" id="female" />
??? <label for="female" accesskey="d">女(<u>d</u>)</label><br />
??? <label for="nar" accesskey="e">婚姻狀況(<u>e</u>):</label>
??? <input type="checkbox" name="married" id="mar" />以婚
</body>
</html>
?
2.4.?? 頭元素
2.4.1 <base>標簽
????????
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
??? <title>無標題頁</title>
</head>
<body>
??? <a href="HTMLPage.htm">第二頁</a>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
??? <title>無標題頁</title>
??? <base href="http://localhost:1055/AtlasWebSite1/" />
</head>
<body style=" background-color:#ffffff">
??? <a href="HTMLPage.htm">第一頁</a>
?
</body>
</html>
?
2.4.2 <link>標簽
???????? 定義當前文檔和另一個文檔或資源的關系。
2.4.3 <meta>標簽
????????
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
??? <title>無標題頁</title>
??? <meta http-equiv="Page-Enter" content="revealTrans(Transition,Duration=1.000)" />
</head>
<body style=" background-color:Red">
?
</body>
</html>
?
2.5.?? 分區標簽
2.5.1 <div></div>
2.5.2 <span></span>
2.6.?? 思考與實踐
轉載于:https://www.cnblogs.com/wkjs/archive/2006/08/04/2008576.html
總結
以上是生活随笔為你收集整理的javascript网页开发 第二章的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [转贴]2006十大经典语句
- 下一篇: 吹呀吹是什么歌啊?