国产对白一区二区三区免费大片_亚洲第四页日韩欧美中文字幕_在线欧美视频一区二 ,久久午夜夜伦鲁鲁片免费无码影院,亚洲av日韩av综合在线观看,国产农村乱辈无

html學(xué)習(xí)心得

時(shí)間:2025-07-26 08:37:20
html學(xué)習(xí)心得[此文共4265字]

4.3<tr><th><td>標(biāo)簽下的常用屬性

屬性名稱屬性值說明widthheight

align(水平方向)rightleftcenter

valign(垂直方向)top數(shù)據(jù)靠上middle數(shù)據(jù)居中buttombgcolor

4.4拆分與合并單元格 <td>里面的屬性

屬性名稱屬性值colspan數(shù)字rowspan數(shù)字先刪掉不要的空格再合并需要的空格 4.5表格的標(biāo)題<table>

<caption>....</caption></table>

屬性有:

屬性名稱屬性值aligntopbuttom 5.1背景圖片設(shè)置

<body background="url">

5.2將圖片插入網(wǎng)頁中

格式:<img src="url">

功能:將圖片插入網(wǎng)頁中 單一標(biāo)簽

屬性名稱屬性值srcurlwidth像素/百分比height像素/百分比alt字符串border數(shù)字5.3文字圖像的排列

屬性名稱屬性值alignleftrighttopmiddlebuttom間隙設(shè)置

數(shù)據(jù)靠下 說明

向兩邊擴(kuò)展 向上下擴(kuò)展 說明

圖片的路徑

圖片的寬度(絕對和相對) 圖片的高度(絕對和相對)給圖片做注解 圖片邊框 說明

圖像靠左 文字靠右 圖像靠右 文字靠左 文字靠上 文字居中 文字靠下

vspace像素垂直上下兩端與物件的距離hspace像素水平左右兩端與物件的距離

5.4 圖片超鏈接

<a href="url"><img src="url"></a>

注意邊框問題

5.5地圖索引

格式:<img src="url" usemap="#圖像名稱">

<map name="圖片名稱" id="圖片名稱">

<area shape="選取區(qū)塊的形狀" coords="坐標(biāo)" href="url" alt="文字說明"></map>

說明:

<map>聲明整張圖使用地圖連接方式進(jìn)行連接

<area>表示需要連接的某個(gè)區(qū)塊

<shape>表示我們所選擇的形狀 如:rect矩形 circle圓形poly 多邊形coords 表示地圖的坐標(biāo)位置

舉例:

<img src="bg.jpg" border="0" usemap="#map">

<map name="map">

<area shape="rect" coords="136,36,202,102" href="">網(wǎng)易</a>

2.file連接本地的文件

聲明<a href=file:///e/images/pic.jpg>圖片</a>

3.ftp

聲明<a href="ftp://192.168.4.21/">進(jìn)入</a>

4.mailto<a href=mailto:bnbbs@163.com>e-mail</a>

6.3 相對鏈接和絕對鏈接

1.若是6.html和index.html文件在同一目錄下

使用 index.html(index.html為連接文件)

<a href="index.html">index.html</a>

2.若index.html文件在6.html文件目錄下的文件夾page里面

則使用 page/index.html

<a href="page/index.html">index.html</a>

3.如果index.html在 page文件下page2中

page/page2/index.html

2、3為往后查找文件路徑

4.若6.html文件在page文件夾中 則查找index.html

需要向上翻一層查找

../index.html

<a href="../index.html">index.html</a>

5.若是6.html文件在page文件夾里面的page2文件夾里面

則查找連接index.html 使用

../../index.html

4、5為往前查找

5.若6.html在page文件夾中 而index.html在images文件夾中

則6.html要查找連接index.html文件需要

先出page文件夾再進(jìn)images文件夾

../images/index.html

<a href="../images/index.html">index.html</a>

6.4 書簽鏈接

先在需要跳轉(zhuǎn)的文本地方創(chuàng)建書簽點(diǎn)

再進(jìn)行連接

<a>下的屬性

屬性名稱屬性值

name字符串

格式:

錨點(diǎn):<a name="音樂">..</a>

連接點(diǎn)<a href="#音樂">..</a>

連接到別的網(wǎng)頁的書簽項(xiàng)目

基本格式:

錨點(diǎn):<a name="音樂">...</a>

連接點(diǎn):<a href="index.html#音樂">...</a>

先連接到需要連接的網(wǎng)頁 再連接到書簽

……此處隱藏5506個(gè)字……gt;

type="file":上傳域

<input type="submit" value=""/>

type="submit":提交按鈕

value:默認(rèn)內(nèi)容

<input type="reset" value=""/>

type="reset":重置按鈕

value:默認(rèn)內(nèi)容

<input type="button" value=""/>

type="button":普通按鈕

value:默認(rèn)內(nèi)容

<input type="hiddle"/>

type="hiddle":隱藏內(nèi)容

<input type="image" src="" width="" he(請你支持:wWw.)ight="" border=""/>

type="image":圖片提交按鈕

src:圖片路徑

width:圖片寬度

height:圖片高度

border:圖片邊框

<select>

<option selected="selected"></option>:下拉框內(nèi)容

</select>:下拉框

selected="selected":默認(rèn)當(dāng)前選中

<textarea cols="" rows=""></textarea>:文本域

cols:文本域?qū)挾?/p>

rows:文本域高度

</form>:表單標(biāo)記

action:跳轉(zhuǎn)路徑

method="get/post":提交方式

get:所填內(nèi)容顯示在地址欄,所填內(nèi)容有限制(默認(rèn)方式)

post:所填內(nèi)容不顯示在地址欄,內(nèi)容以一種加密方式,所填內(nèi)容無限制

<table align="left/center/right" width="" height="" border="" cellspacing="" cellpadding=""bordercolor="" bgcolor/background="">

<caption align="left/center/right/top/bottom"></caption>:表格標(biāo)題align="left/center/right/top/bottom":標(biāo)題居左/居中/居右/居上/居下<tbody>

<tr align="left/center/right" valign="top/middle/bottom" bgcolor/background="" height="">

<td colspan/rowspan="" align="left/center/right" valign="top/middle/bottom" bgcolor/background=""

height="" width="">

</td>:格

colspan/rowspan:行合并/列合并

align="left/center/right":內(nèi)容水平方向居左/居中/居右

valign="top/middle/bottom":內(nèi)容垂直方向居上/居中/居下

bgcolor/background:格背景顏色/背景圖片

height:格高度

width:格寬度

</tr>:行

align="left/center/right":行內(nèi)容水平方向居左/居中/居右

valign="top/middle/bottom":行內(nèi)容垂直方向居上/居中/居下

bgcolor/background:行背景顏色/背景圖片

height:行高

</tbody>:表格塊

</table>:表格

align="left/center/right":表格居左/居中/居右

width:表格寬度

height:表格高度

border:邊框粗細(xì)

cellpadding:表格內(nèi)容據(jù)邊框距離

cellspacing:表格內(nèi)外邊框距離

bordercolor:邊框顏色

bgcolor/background:表格背景顏色/背景圖片

<frameset frameborder="" rows/cols="" broder="">

<frame src="" noresize="noresize" name=""/>

src:引入路徑

noresize="noresize":骨架固定

name:命名

</frameset>:網(wǎng)頁分割

rows/cols:網(wǎng)頁上下/左右分割

frameborder:骨架顯示/隱藏

border:骨架粗細(xì)

<iframe width="" height="" frameborder="" src="" name="x"> </iframe>:浮動框架

width:寬度

height:高度

frameborder:浮動框架邊框

src:引入路徑

name:命名

<a href="" target="x"></a>

target="x":控制網(wǎng)頁顯示區(qū)域

href:跳轉(zhuǎn)路徑

歡迎閱讀其他精彩文章:

html abbr 標(biāo)簽

html倒計(jì)時(shí)代碼

一個(gè)簡單的html實(shí)例

html網(wǎng)頁畢業(yè)論文

個(gè)人簡歷html語言編寫

《html學(xué)習(xí)心得[此文共4265字].doc》
將本文的Word文檔下載到電腦,方便收藏和打印
推薦度:
點(diǎn)擊下載文檔

文檔為doc格式