Web111a_chapt06.ppt HTML: Section 6 Forms HTML tags: define data input and/or output Define the Input and/or Output on the web page Do not process the.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
24-Aug-14 HTML Forms. 2 What are forms? is just another kind of HTML tag HTML forms are used to create (rather primitive) GUIs on Web pages Usually the.
Hyperlink & Form Pertemuan 11 Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
Technologies for web publishing Ing. Václav Freylich Lecture 4.
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5B.
XP 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
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.
Tutorial 6 Working with Web Forms
Gathering Requirements What do users want?. Information Gathering Techniques Surveys Interviews Focus Groups.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Using Entities & Creating Forms Jill R. Sommer Institute for Applied Linguistics Kent State University.
Session 2 Tables and forms in HTML Adapted by Sophie Peter from original document by Charlie Foulkes.
Creating Web Page Forms
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
ECA 228 Internet/Intranet Design I Forms. ECA 228 Internet/Intranet Design I Forms forms are a way for a user to communicate with you – text fields –
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
CST JavaScript Validating Form Data with JavaScript.
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.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Website Development with PHP and MySQL Saving Data.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
1 HTML Forms
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
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.
ITCS373: Internet Technology Lecture 5: More HTML.
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.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
TJ 3043 – Web Application Development HTML Form. 2.0 Forms A form is the usual way to communicate information from a Web browser to a server HTML has.
1 Form Elements  Form elements have properties: Text boxes, Password boxes, Checkboxes, Option(Radio) buttons, Submit, Reset, File, Hidden and Image.
1 HTML Forms
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
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.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Week 10: HTML Forms HNDIT11062 – Web Development.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
Basic Webpage Design HTML Forms. Objectives Learn how to use HTML to create a form. Explain the concept of forms Know the difference of GET and POST Discuss.
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
Creating Forms on a Web Page. 2 Introduction  Forms allow Web developers to collect visitor feedback  Forms create an environment that invites people.
1 HTML forms (cont.)
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.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
FORMS Explained By: Jasdeep Kaur. Lecturer, Department of Computer Application, PGG.C.G., Sector: 42, Chandigarh.
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.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
ITE 115 Creating Web Page Forms
Introducing Forms.
CNIT 131 HTML5 - Forms.
Creating Forms on a Web Page
Presentation transcript:

web111a_chapt06.ppt HTML: Section 6 Forms HTML tags: define data input and/or output Define the Input and/or Output on the web page Do not process the data Numerous HTML tags for various functions Text boxes List Boxes (drop down) Radio Buttons Check Boxes Text Areas Submit Button Reset Button 1. Design the form (Figure 6-1, Page 6.04) 2. The completed web page with the form (Figure 6-2, Page 6.05) 3. The HTML tags required for the Form (Figure 6-3, Page 6.07) 6.02

web111a_chapt06.ppt HTML: Section 6 Common Gateway Interface (CGI) scripts Processes the data sent from an HTML form Returns information to the user via an HTML page Run on the web server Language can be OS specific Data manipulation (comparisons, arithmetic) Database manipulation Languages AppleScript: Apple Active Server Pages (ASP): Microsoft C/C++ Perl: free UNIX shells: various vendors Visual Basic: Microsoft PHP/FI: free JavaScript: Sun Microsystems VBScript

web111a_chapt06.ppt HTML: Section 6 Object types used Text Textarea Checkbox Submit Button Reset Button

web111a_chapt06.ppt HTML: Section 6 Form Tags Input attributes (Figure 6-6, Page 6.09) “text” - Single line input area defined Text scrolls when field is filled size = width of the text field name = name of field passed to cgi script More Attributes Maxlength = numbermax length of field – no scrolling even if size is larger scrolling if size is smaller Value = “some value”default value to text box

web111a_chapt06.ppt HTML: Section 6 Create a blank HTML page named forms.htm Enter the tag between the and tags Save the file Load into browser

web111a_chapt06.ppt HTML: Section 6 Selection Lists (Drop Boxes) Create unlimited length of selections (list) Only one item at a time will be selected Width is determined by the longest list item Length of list is determined by number of items in list begin list somedataan item in the list as many as required end of list Attribute Size = number of items to display before scrolling Multiple= allow more than one item to be selected LAB 1: Create a Drop Down Box Somewhere In TimePredatorAliens The ShootistPattonGlory HidewayFalling DownDie Hard BraveheartTitanicInstinct

web111a_chapt06.ppt HTML: Section 6 Selection Lists – Grouping (Drop Boxes) Create Headings for sections Create unlimited length of selections (list) Only one item at a time will be selected Width is determined by the longest list item Length of list is determined by number of items in list Headings cannot be selected begin list an item in the list as many as required as many as required as many as required end of list 6.27

web111a_chapt06.ppt HTML: Section 6 LAB 2: Create a Drop Down Box with Headings CDs Somewhere In Time Predator Aliens MOVIES The Shootist Patton Glory Hideway Falling Down VHS Die Hard Braveheart Titanic Instinct

web111a_chapt06.ppt HTML: Section 6 Radio Buttons Only one button can be selected at a time Label 1 As many radio buttons as needed LAB 3: Create Radio Buttons Very Small Small Medium Large Extra Large 6.28

web111a_chapt06.ppt HTML: Section 6 Group Box: Radio Buttons Only one button can be selected at a time someheading” Label 1 As many radio buttons as needed Assign one item as a default selection Attribute = checked Label 1 LAB 3: Create Radio Buttons Very Small Small Medium Large Extra Large 6.31

web111a_chapt06.ppt HTML: Section 6 Check Boxes Select as many boxes as necessary Label 1 As many boxes as needed LAB 4: Create Check Boxes Sweater Coat Jacket Sweat Shirt Hat 6.33

web111a_chapt06.ppt HTML: Section 6 Text Area (mutiple lines) default text Auto word wrapping Scrolling LAB 5: Create a Text Area Five rows 30 columns Default text of “Enter comment here” 6.35

web111a_chapt06.ppt HTML: Section 6 Submit the form data Built in browser object Submits form information to cgi script Clear the form Built in browser object Clears/resets the form information LAB 6: Create a Submit and Reset button 6.39

web111a_chapt06.ppt HTML: Section 6 Buttons Button specifications LAB 7: Create a button See our History Page 6.42

web111a_chapt06.ppt HTML: Section 6 Image Fields LAB 8: Create an image submit button <form method="post" action="contactformasp.asp"> 6.43

web111a_chapt06.ppt HTML: Section 6 Hidden fields 6.44

web111a_chapt06.ppt HTML: Section 6 Submit the form to the cgi script codes Method = the way in which the data is transferred Get Data is attached to the end of the call to the script Data is visible in the call url location window Data is limited to 255 characters Post Data is sent separately from the script call Data is not visible Amount of data is not limited to 255 characters Safest method to send data Action = the name of the script 6.44

web111a_chapt06.ppt <form method="post" action="contactformasp.asp"> Name: Address: Phone Number: Enter request or comment:

web111a_chapt06.ppt <!-- Please select any items of interest: Purchase New Golf Cart: Purchase Used Golf Cart: Lease New Golf Cart: Golf Cart Parts: -->