5-10日記

2018-05-15 09:22 更新

【17-05-10】

<a></a>

href屬性: path 路徑可以為:(http://www.baidu.com?id=12 ) 也可以為相對路徑, (href="test/demo.html") target 屬性: _blank :新窗口打開,。 _self 當前窗口開。 _top 當前窗口,可以前進后退 _search 新窗口打開 _parent 當前窗口打開,可以前進后退。 demo: <a href="http://www.baidu.com" target="_blank" title="提示信息">。

<img/>

src 必須屬性: 圖片的path 相對路徑。 border:邊線 title :圖片標題,鼠標懸停提示信息。 alt必須屬性:當圖片加載不出。顯示alt的文字。v8引擎使用。 width:寬度 height:高度 demo: <img src="img/g.jgp"alt="" title="圖片名"width="120px" height="230px"/> src:相對路徑3中方式: 直接書寫文件名字a.jpg 找上級(../)找下級 文件名稱+具體文件

demo:路徑的3中表現(xiàn)形式。 <img src="../img/logo-1_03.jpg"/> <img src="news3.png" /> <img src="img/news3.png" alt="" /> <div></div> <span></span>標簽: <table><tr><td></td></tr></table>標簽: 操作td標簽: colspan:num 合并列的數(shù)字 rowspan:num 合并行的數(shù)字 width height border bordercolor sellspceing sellpadding(單元格和內(nèi)容間距) <table width="300px" height="300px" valign="top" align="center" border="1px"> <tr valign="top"><td>1</td><td>23</td></tr> <tr><td>1</td><td>23</td></tr> <tr><td>1</td><td>23</td></tr> </table>

以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號