html表單——使用frameset寫一個導覽列效果

來源:互聯網
上載者:User

標籤:註冊   sina   public   resize   pre   .com   tar   UI   href   

首頁面:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><!--frameset   說明:1、frameset不能潛入在body標籤裡面,只能嵌入在html標籤裡面- 2、一個html頁面中不能同時嵌入多個frameset標籤 3、若有多個frame標籤,且同時未設定src屬性值,則設定任何一個src屬性,其他src屬性也預設為該屬性-><!--<frameset cols="200px,20%,*"><frame src="#"/><frame src="#"/><frame src="#"/></frameset>--><!--frameborder="0“ :用來設定不顯示分隔條noresize="noresize"   :則設定分隔條不可拖動scrolling="no"    :不顯示捲軸     (要麼所有的frame都設定scrolling屬性,要麼最後一個frame標籤設定scrolling屬性)--><!--<frameset rows="200px,20%,*" frameborder="1" noresize="noresize"  ><frame src="http://dict.youdao.com/w/Frame/#keyfrom=dict2.top" /><frame src="http://dict.youdao.com/w/Frame/#keyfrom=dict2.top"  scrolling="no"/><frame src="http://dict.youdao.com/w/Frame/#keyfrom=dict2.top" /></frameset>--><!--左邊是頁面導覽列,右邊是導覽列對應的內容--><frameset cols="200px,*" frameborder="1" noresize="noresize"  ><frame src="navigationbar.html" /><frame src="http://www.baidu.com" name="bodyContent"/></frameset></html>

  

導航頁面:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>navigationbar.html</title></head><body><a href="http://www.baidu.com" target="bodyContent" >百度</a><br/><br/><a href="http://www.sina.com.cn/" target="bodyContent" >新浪</a><br/><br/><a href="http://dict.youdao.com/" target="bodyContent" >有道詞典</a><br/><br/><a href="https://ssl.zc.qq.com/chs/index.html?type=1" target="bodyContent" >QQ郵箱註冊</a><br/><br/></body></html>

  

html表單——使用frameset寫一個導覽列效果

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.