標籤: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 網頁中的表單 架構 標題列小表徵圖 描點 插入視頻音頻 簡單的捲軸