Intro to Forms HTML forms are used to gather information from end-users. A form can contain elements like radio-buttons, text fields, checkboxes, submit.

Slides:



Advertisements
Similar presentations
Hyperlink & Form Pertemuan 11 Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
Advertisements

1 Introduction to HTML II อุทัย เซี่ยงเจ็น สำนักวิชาเทคโนโลยีสารสนเทศ และการสื่อสาร มหาวิทยาลัยนเรศวร พะเยา.
Video, audio, embed, iframe, HTML Form
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
16/19/2015CS120 The Information Era CS120 The Information Era Chapter 5 – Advanced HTML TOPICS: Introduction to Web Page Forms and Introductory Javascript.
1 CS101 Introduction to Computing Lecture 12 Interactive Forms (Web Development Lecture 4)
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Forms. Form An HTML form is a section of a document containing normal content, special elements called controls (checkboxes, radio buttons, buttons, etc.),
Interactive Form 1 Edited By; L.Maha AlAjmi. Revision 2 We learnt how to extend our Web pages by adding a few more tags Specifically, we discussed various.
HTML Forms – Interactive HTML – Web 2.0. HTML – New types for input – Degrades gracefully for browsers that do not support the html 5 input types
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
HTML Forms What is a form.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
Suzanne J. Sultan Javascript Lecture 2. Suzanne J. Sultan function What is a function> Types of functions:  Function with no parameters  Function with.
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
INTRODUCTORY Tutorial 8 Creating Forms. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Create an HTML form Create fields for text Create.
BBK P1 Module2010/11 : [‹#›] Forms (Getting data from users)
HTML Forms. Today’s Lecture We will try to understand the utility of forms on Web pages We will find out about the various components that are used in.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
IDK0040 Võrgurakendused I harjutus 05: Forms Deniss Kumlander.
HTML Forms. Today’s Lecture We will try to understand the utility of forms on Web pages We will find out about the various components that are used in.
HTML FORMS GET/POST METHODS. HTML FORMS HTML Forms HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes,
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
1 Review of Form Elements. 2 The tag Used in between tags.  Form elements(text control, buttons, etc.. ) goes here. OR  Form elements(text control,
HTML Forms a form is a container for input elements on a web page input elements contain data that is sent to the web server for processing.
Intro to Forms  HTML forms are used to gather information from end-users.  A form can contain elements like radio- buttons, text fields, checkboxes,
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Project 6 Creating Forms on a Web Page. Objectives Define terms related to forms Describe the different form controls and their uses Use the tag Create.
HTML Creating Forms on a Web Page. 2 Objectives  Discuss the process of creating a form  Distinguish between data input controls and text input controls.
Web Forms. Web Forms: A form allows our web visitors to submit information to us. Some examples uses for forms are to let the web user contact us, fill.
HTML FORM. Form HTML Forms are used to select different kinds of user input. HTML forms are used to pass data to a server. A form can contain input elements.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Web Development Part 2.
HTML Basics (Part-3).
Web Forms.
Client-Side Internet and Web Programming
Making your HTML Page Interactive
Web Forms.
How to Write Web Forms By Mimi Opkins.
Introduction to HTML Forms and Servlets
Forms Web Design Ms. Olifer.
HTML Forms Pat Morin COMP 2405.
FORMS IN HTML.
>> More on HTML Forms
Introduction to Web programming
FORMS Explained By: Sarbjit Kaur.
WHY FORMS? Explain: Mostly, when you need to collect data from a user you need a form Click: Google search form Click: Facebook login form Click:
>> Form Data Retrieval in JavaScript
ARUSHA TECHNICAL COLLEGE WEB DESIGN(html forms)
HTML/XHTML Forms 18-Sep-18.
Validation and Building Small Apps
النماذج عند الانتهاء من هذا الدرس ستكون قادرا على:
1.5 FORMS.
HTML: Basic Tags & Form Tags
Creating Form Elements
Creating Form Elements
Forms Data Entry and Capture
FORM OBJECT When creating an interactive web site for the Internet it is necessary to capture user input and process this input. Based on the result of.
Creating Forms on a Web Page
Intro to Forms HTML forms are used to gather information from end-users. A form can contain elements like radio-buttons, text fields, checkboxes, submit.
HTML Forms 18-Apr-19.
© Hugh McCabe 2000 Web Authoring Lecture 8
HTML Forms
Web Forms.
Making your HTML Page Interactive
HTML: Basic Tags & Form Tags
Presentation transcript:

Intro to Forms HTML forms are used to gather information from end-users. A form can contain elements like radio-buttons, text fields, checkboxes, submit buttons and more. **This HTML tutorial will not teach you how servers process input from HTML forms. If you want to learn more about processing form input, you can study/research ASP.**

Forms: Input Elements Radio Buttons: let a user select ONLY ONE of a limited number of choices. <input type="radio" /> defines a radio button. Code View: Browser View: <form> <input type="radio" name=“grade" value=“9th" /> Freshmen <br /> <input type="radio" name=“grade" value=“10th" /> Sophomore <br /> <input type="radio" name=“grade" value="11th" /> Junior </form>

Forms: Input Elements Text Fields: allows the user to type in text into the text field box. <input type=“text" /> defines a one-line input field that a user can enter text into. Default width of a text field is 20 characters. Code View: Browser View: <form> Car Make: <input type="text“ name="carmake" /> <br /> Car Model: <input type="text" name="carmodel" /> </form>

Forms: Input Elements Password Field: like the text field, it allows the user to type in text into the text field box but the characters are masked. <input type=“password" /> defines a password field. Code View: Browser View: <form> Password: <input type="password" name="password" /> </form> with user input

Forms: Input Elements Checkboxes: let a user select ONE or MORE options of a limited number of choices. <input type=“checkbox" /> defines a checkbox. Code View: Browser View: <form> <input type="checkbox" name="language" value="spanish" /> I speak Spanish<br /> <input type="checkbox" name="language" value="french" /> I speak French </form>

Forms: Input Elements Drop-Down List: allows a user to select one option from a simple drop-down menu. Code View: Browser View: default view College Majors<br /> <form action=“”> <select name=“collegemajors"> <option value=“eng">English Major</option> <option value=“math">Math Major</option> <option value=“SS">Social Studies Major</option> <option value=“history“>History Major</option> </select> </form> with drop-down menu engaged

Forms: Input Elements Submit Button: used to send form data to a server. The data is sent to the page referenced in the form's “action” attribute. The file defined in the action attribute processes the received input. <input type=“submit" /> defines a submit button. Code View: Browser View: <form name="input" action="html_form_action.asp" method="get"> User Login: <input type="text" name="user" /> <input type="submit" value="Submit" /> </form>

Forms: Review HTML forms are used to gather information from end-users in the following ways: Radio Buttons Drop-down List Submit Button Password Field Text Field Checkbox