2017-3-23 網頁中的表單 架構 標題列小表徵圖 描點 插入視頻音頻 簡單的捲軸

來源:互聯網
上載者:User

標籤:always   lin   cti   middle   name   屬性   div   sel   表徵圖   

(一)表單

1.<form action=""method="get/post"></form>

2.表單12個元素

  文本類:

  <input type="text" value=""> - 文字框

  <input type="password" value=""> - 密碼框

  <textarea></textarea>  ---- 文字框

  <input type="hidden" value=""> - 隱藏欄位

  按鈕類

  <input type="button" value=""> - 普通按鈕 不提交資料

  <input type="submit" value=""> - 提交按鈕  提交資料

  <input type="rest" value=""> - 儲值按鈕 清空

  <input type="image" value=""> - 圖片按鈕 相當於提交按鈕、

  選擇類

  <input type="radio" value=""> - 選項按鈕   checked是預設網頁的選擇項  name是進行分組,單選相互排斥  

    性別:<input type="radio" id="man" name="sex" checked="checked" /> -- label是滑鼠按在字上也可以進行選擇
    <label for="man">男</label>
    <input type="radio" id="woman" name="sex" />
    <label for="woman">女</label><br>

  <input type="checkbox" value=""> --- 複選按鈕 

  <select>       ----  下拉式清單

    <option></option>

  </select>

  <input type="file" value="">  ----  選擇檔案

 

 (二) 架構

1.iframe  

<iframe src="顯示的網頁地址" width="" height="" name="設定name屬性"></iframe> 

  <a href="http://www.baidu.com" target="123">百度</a>  ---- target開啟新的網頁顯示在iframe中
  <a href="http://www.sina.com.cn" target="123">新浪</a>
  <iframe width="100%" height="500px" src="http://www.qq.com" name="123">
  </iframe>

  在架構中顯示百度,新浪的

2.標題列小表徵圖

  <link rel="shortcut  icon" type="image/x-icon" href="圖片的位置" media="screen"  /> 

3.描點

    目標位置的標題處 添加id="???"
  使用一個超連結,href裡面填 "#???"

 

  <a href="#111">第一行</a>
  <a href="#222">第二行</a>
  <a href="#h333">第三行</a>

  跳轉的內容設定好id,href直接跳轉到內容id上,並且在網頁的最上面顯示跳轉的內容

4.插入視頻

在優酷等視頻網站,找到分享位置,複製html代碼,貼入網頁中

<embed src=‘http://player.youku.com/player.php/sid/XMjY0NTkwMjEzMg==/v.swf‘ allowFullScreen=‘true‘ quality=‘high‘ width=‘480‘ height=‘400‘ align=‘middle‘ allowScriptAccess=‘always‘ type=‘application/x-shockwave-flash‘></embed>

 

   設定自動播放的在.swf後面加上?VideoIDS=XNDA3OTM4NA=&isAutoPlay=true&isShowRelatedVideo=false&embedid=-&showAd=0

 

5.插入音頻

<embed src="images/333.mp3" hidden="true" autostart="true" loop="true">

5.簡單的捲軸效果

簡單的滾動效果:
<marquee direction="right" behavior="alternate" scrollamount="50">啦啦啦啦啦</marquee>

 

 

  

2017-3-23 網頁中的表單 架構 標題列小表徵圖 描點 插入視頻音頻 簡單的捲軸

聯繫我們

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