HTML5架構、背景和實體

來源:互聯網
上載者:User

標籤:http   ar   color   os   sp   bs   ad   html   ef   

1、HTML5架構
  1. 架構標籤(frame)

    架構對於頁面的設計有著很大的作用

  2. 框架組標籤(<frameset>)

    框架組標籤定義如何將視窗分割為架構

    每一個frameset定義一系列行或列

    rows/cols的值規定了每行或每一列佔據螢幕的面積

  3. 常用標籤:

    noresize:固定架構大小

    cols:列

    rows:行

  4. 內聯架構

    iframe

index.html<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title></title></head><br/><iframe src="framec.html" frameborder="0" width="800px" height="800px"></iframe></html>framec.html<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title></title></head><body bgcolor="#7fffd4">FrameC<br/><iframe src="frameb.html" width="600px" height="600px"></iframe></body></html>frameb.html<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title></title></head><body bgcolor="#a52a2a">FrameB<br/><iframe src="framea.html" width="400px" height="400px"></iframe></body></html>framea.html<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title></title></head><body bgcolor="aqua">FrameA<a href="http://www.baidu.com" target="_parent">baidu</a></body></html>
2、HTML5背景

       背景標籤Background和背景顏色Bgcolor

<!--<body background="http://pic.4j4j.cn/upload/pic/20130628/bc2c6086e3.jpg">--><body bgcolor="aqua">
3、實體:

        HTML中預留字串必須被替換成字元實體。如:<、>、&

<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title></title></head><body> abcd&lt;html&gt;</body></html>


HTML5架構、背景和實體

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.