Web Development & Design Foundations with H T M L 5

Slides:



Advertisements
Similar presentations
Lecture 14 HTML Forms CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
Advertisements

Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
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.
Forms Describe common uses of forms on web pages
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Principles of Web Design 6 th Edition Chapter 11 – Web Forms.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
CSC 2720 Building Web Applications HTML Forms. Introduction  HTML forms are used to collect user input.  The collected input is typically sent to a.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 7: Web Forms.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
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.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
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.
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.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Starting BBEdit or Notepad and Opening the HTML File Start BBEdit or Notepad Select Open from the File Menu Open survey1.htm from the Public Folder.
Netprog CGI and Forms1 CGI and Forms A detailed look at HTML forms.
Week 10: HTML Forms HNDIT11062 – Web Development.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Creating Forms on a Web Page. 2 Introduction  Forms allow Web developers to collect visitor feedback  Forms create an environment that invites people.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 6: Creating XHTML Forms Kelly.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Lesson 5 Introduction to HTML Forms. Lesson 5 Forms A form is an area that can contain form elements. Form elements are elements that allow the user to.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
Client-Side Internet and Web Programming
How to Write Web Forms By Mimi Opkins.
Web Development & Design Foundations with HTML5 8th Edition
Forms Web Design Ms. Olifer.
ITE 115 Creating Web Page Forms
Web Development & Design Foundations with HTML5 8th Edition
النماذج عند الانتهاء من هذا الدرس ستكون قادرا على:
Designing Forms Lesson 10.
1.5 FORMS.
HTML Forms and User Input
Creating Form Elements
Creating Form Elements
Web Development & Design Foundations with H T M L 5
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.
Forms, cont’d.
Web Development & Design Foundations with H T M L 5
CNIT 131 HTML5 - Forms.
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
Creating Forms on a Web Page
Basics of Web Design Chapter 10 Form Basics Key Concepts
Web Development & Design Foundations with H T M L 5
Lesson 6: Web Forms.
Unit 5 Create Forms.
Presentation transcript:

Web Development & Design Foundations with H T M L 5 Ninth Edition Chapter 9 Forms If this PowerPoint presentation contains mathematical equations, you may need to check that your computer has the following installed: 1) MathType Plugin 2) Math Player (free versions available) 3) NVDA Reader (free versions available) Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links by using INSERT+F7 Copyright © 2019, 2017, 2015 Pearson Education, Inc. All Rights Reserved

Overview of Forms (1 of 2) Forms are used all over the Web to Accept information Provide interactivity Types of forms: Search form, Order form, Newsletter sign-up form, Survey form, Add to Cart form, and so on…

Overview of Forms (2) Form An HTML element that contains and organizes form controls such as text boxes, check boxes, and buttons that can accept information from website visitors.

Two Components of Using Forms 1. The HTML form (INF286) the web page user interface and 2. The server-side processing (CSC301) Server-side processing works with the form data and sends e-mail, writes to a text file, updates a database, or performs some other type of processing on the server.

HTML Using Forms <form> <input> <textarea> Contains the form elements on a web page Container tag <input> Configures a variety of form elements including text boxes, radio buttons, check boxes, and buttons Stand alone tag <textarea> Configures a scrolling text box <select> Configures a select box (drop down list) <option> Configures an option in the select box

Sample Form HTML <form> E-mail: <input type="text" name ="email" id="email"><br> <input type="submit"> <input type="reset"> </form>

HTML form element The form element attributes: action method name id Specifies the server-side program or script that will process your form data method get – default value, form data passed in URL post – more secure, form data passed in HTTP Entity Body name Identifies the form id

Input Text box <input> Accepts text information type="text“ name Attributes: type="text“ name id size maxlength value

input Submit Button <input> Submits the form information When clicked: Triggers the action method on the <form> tag Sends the form data (the name=value pair for each form element) to the web server. Attributes: type=“submit” name id value

input Reset Button <input> Resets the form fields to their initial values Attributes: type=“reset” name id value

Hands-on Practice 9.1 (pages 406-7) chapter9/9.1/form.html

input Check box <input> Allows the user to select one or more of a group of predetermined items Attributes: type="checkbox“ name id checked value

input Radio Button type="radio“ name id checked value <input> Allows the user to select exactly one from a group of predetermined items Each radio button in a group is given the same name and a unique value Attributes: type="radio“ name id checked value

input Hidden form data Attributes: <input> This form control is not displayed on the web page. Hidden form fields Can be accessed by both client-side and server-side scripting Sometimes used to contain information needed as the visitor moves from page to page. Attributes: type="hidden“ name id value

input Password box <input> Accepts text information that needs to be hidden as it is entered Attributes: type=“password” name id size maxlength value

textarea Scrolling Text Box <textarea> </textarea> Configures a scrolling text box Attributes: name id cols rows

Hands-On Practice 9.2 (Pages 411-412)

Label element <label></label> Associates a text label with a form control Two Different Formats: <label>Email: <input type="text" name=“email" id ="email"></label> Or <label for="email">Email: </label> <input type="text" name="CustEmail" id= "email">

Hands-on Practice 9.3 (page 417) chapter9/9.3/form.html For screen readers