HTML常用學習記錄
阿新 • • 發佈:2018-05-02
amp get frameset 效果 鏈接 sub eset XA alt屬性
- ./打開上級
- <a href="#H5">#錨尋找<h2 name="H5">123</h2></a>
-
css:
<style type="text/css">
h2 {color:red}
</style>
<br />折行 <hr />水平線
- 居中排列align="center"
- <!DOCTYPE html>
- 註釋:<!--輸入註釋-->
- 背景顏色:<body background="url"> or <body bgcolor="red">
- <sub>上標 <sup>下標
- <q></q>短引用、<blockquote></blockquote>長引用
- 刪除字效果:<del>123<del>、插入字效果:<ins>456</ins>
- <target="_blank"> =>>新窗口打開 <target="_top"> =>>跳出框架
- <a href="url"><img src=""></a>將圖像作為鏈接
- alt =附加屬性 =>>沒有正常顯示時顯示alt屬性。
- <a href="mailto:[email protected]?subject=Hello%20again">發送郵件</a>
- 垂直框架:
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
</frameset>
水平則將cols改為rows.
混合則為兩<frameset cols="25%","75%">
<frameset rows="50%","50%">
以兩</frameset>結束
HTML常用學習記錄