form element in HTML--Part1
来源:互联网 发布:淘宝消保保证金在哪里 编辑:程序博客网 时间:2024/06/05 16:53
how the forms work in the browse
1. The browse loads the page
the browser load the HTML page like it always does, when it encounters form elements, it creates controls on the page that allow you to input various kinds of data.
A control is something like a button, input box, or a drop-down menu.
2. You enter data in the contrls
3. submit the form, send the data off to the server
4. the server responds.
2. example
<form action="http://wickedlysmart.com/hfhtmlcss/contest.php" method="POST">
<input type="text" name="firstname" value=""><br>
<input type="text" name="lastname" value=""><br>
<input type="submit">
3. server script
server script: most hosting companies support language like Python, Java, PHP , Java and so on4
4. text input
<input type="text" name="fullname">
5. submit button
<input type="submit">
6. radio input
<input type="radio" name="hotornot" value="hot">
<input type="radio" name="hotornot" value="not">
for a group of buttons, the name must be the same, while the value of each radio button, is different.you can only choose one of the buttons
7. checkbox input
<input type="checkbox" name="spice" value="Salt">
<input type="checkbox" name="spice" value="pepper">
you can choose more than one checkbox.
8. <textarea> element
<textarea name="comments" rows="10" cols="48"></textarea>
<select>
<select name="characters">
<options value="Buckaroo">Buckaroo Banzai </option>
<option value="Tommy">Percect Tommy</option>
</select>
- form element in HTML--Part1
- HTML Forms & Form element
- html form element
- video element in HTML
- html-part1
- js replace dom element in html
- <html> vs. <body> element in css
- form element--part 2
- element form表单验证
- JS. How to replace html element with another element/text, represented in string?
- Rendering a Form in ASP.NET MVC Using HTML Helpers
- Form-based File Upload in HTML(RFC-1867)
- Class form or html not found in Laravel 5
- Class form or html not found in Laravel 5 :
- tutorial-osgi-camel-part1.html
- form/html
- html form
- Zend Framework Form Element & FCKEditor
- Hadoop 2.6 集群方式搭建
- nexus踩到的坑-jdk1.8
- MBA提前面试已成趋势
- foj 2193 So Hard
- 关于iPhone6 plus上设置shadow失效的解决方案
- form element in HTML--Part1
- 重写console.log 实现自己的逻辑
- android app中context的个数
- mssql2000查询日期是否在数据库记录的日期范围
- 微信营销的基础是用心交朋友你知道吗?
- 把EXCEL数据导入到SQL SERVER数据库中
- Android+webService的连接
- The potential utilization value of vertical mill
- iOS 6.0中UIViewController被弃用的一些方法