正在加载图片...
ype htmI> <html> <meta charset="utf-8> <ttfe>搜索类型</ite </head> <form action="form. php"method="post"name="Fome Demo"> p>请输入搜索内容:< <input type=" search"name=" SearchText"> p>< nput type=" submit" value="进行搜索"name=" Form Submit"> </html> 2.5电话号码类型 元素介绍 tel类型和URL、 email类型不同,它没有规定特殊的语法。该 类型也是用于指示浏览器。 案例: 示例7-9:电话号码类型 <Doctype htm> <html> <meta charset="utf-8> ite>电话号码类型<tte <body> <form action="form. php"method="post"name="Fome Demo"> <p>请输入电话号码:< input type=" te" name=" telphoneNum"> <p><input type="submit "value="AF"name="Form Submit"> </html> 2.6数字类型 元素介绍 number 类型只能接受数字值,该类型通常和min、max、step属 12《网页设计与网站规划》讲稿/河南中医学院互联网应用技术研究所/htp/ bs. 51xueweb cn12 《网页设计与网站规划》讲稿 / 河南中医学院互联网应用技术研究所 / http://labs.51xueweb.cn <!doctype html> <html> <head> <meta charset="utf-8"> <title>搜索类型</title> </head> <body> <form action="form.php" method="post" name="FomeDemo"> <p>请输入搜索内容:<input type="search" name="SearchText"> <p><input type="submit" value="进行搜索" name="FormSubmit"> </form> </body> </html> 2.5 电话号码类型 元素介绍: tel 类型和 URL、email 类型不同,它没有规定特殊的语法。该 类型也是用于指示浏览器。 案例: 示例 7-9:电话号码类型 <!doctype html> <html> <head> <meta charset="utf-8"> <title>电话号码类型</title> </head> <body> <form action="form.php" method="post" name="FomeDemo"> <p>请输入电话号码:<input type="tel" name="telphoneNum"> <p><input type="submit" value="确定" name="FormSubmit"> </form> </body> </html> 2.6 数字类型 元素介绍: number 类型只能接受数字值,该类型通常和 min、max、step 属
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有