4-20arget 屬性和hover

一、target 屬性框架

定義和用法

target 屬性規定在何處打開 action URL。spa

描述
_blank 在新窗口中打開。
_self 默認。在相同的框架中打開。
_parent 在父框架集中打開。
_top 在整個窗口中打開。
framename 在指定的框架中打開。

 

1 <form action="form_action.asp" method="get" target="_blank">
2   <p>First name: <input type="text" name="fname" /></p>
3   <p>Last name: <input type="text" name="lname" /></p>
4   <input type="submit" value="Submit" />
5 </form>

action  規定當提交表單時向何處發送表單數據指針

二、code

a:link {color:#FF0000;}		/* 未被訪問的連接 */
a:visited {color:#00FF00;}	/* 已被訪問的連接 */ a:hover {color:#FF00FF;} /* 鼠標指針移動到連接上 */ a:active {color:#0000FF;} /* 正在被點擊的連接 */

a:hover 必須位於 a:link 和 a:visited 以後orm

a:active 必須位於 a:hover 以後blog

相關文章
相關標籤/搜索