Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.

Slides:



Advertisements
Similar presentations
Tables Tables provide a means of organising the layout of data
Advertisements

CIS101 Introduction to Computing Week 08. Agenda Your questions JavaScript text Resume project HTML Project Six This week online Next class.
Creating a Form on a Web Page
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
HTML and XHTML Controlling the Display Of Web Content.
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.
Computing Concepts Advanced HTML: Tables and Forms.
Creating Web Page Forms
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Using Frames in a Web Site
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
CST JavaScript Validating Form Data with JavaScript.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
HTML Forms What is a form.
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.
Forms and Form Controls Chapter What is a Form?
1 Forms A form is the usual way that information is gotten from a browser to a server –HTML has tags to create a collection of objects that implement this.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
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.
Interacting With Users Chapter 7 Learn how to… Create a Web form. Create a PayPal button. Create an image map. Create a frameset. FTP files to the Web.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Chapter 2 XHTML: Part II The Web Warrior Guide to Web Design Technologies.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
76 © 1998, 1999, 2000 David T. Gray, Howard Duncan, Jane Kernan Frames When displaying information in a browser, it is sometimes useful to divide the display.
HTML : Forms, Frames Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
ITCS373: Internet Technology Lecture 5: More HTML.
HTML Forms A Preliminary Step into Dynamic Web Fred Durao
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 HTML Forms
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
FORMS. Forms are used to receive information from the web surfer, such as: their name, address, credit card, etc. Form fields are objects that allow.
TJ 3043 – Web Application Development HTML Form. 2.0 Forms - A form is the usual way information is gotten from a browser to a server - HTML has tags.
Lecture 6 More Advanced HTML Boriana Koleva Room: C54
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
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.
Creating Web Page Forms COE 201- Computer Proficiency.
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.
HTML Forms.
Week 10: HTML Forms HNDIT11062 – Web Development.
HTML FORMS Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1.
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.
Chapter 9 Quick Links Slide 2 Performance Objectives Understanding Forms Planning Forms Creating Forms Creating Text Fields Creating Hidden Fields Creating.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
1 HTML Forms
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.
1 HTML forms (cont.)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
Chapter 5 Validating Form Data with JavaScript
In this session, you will learn to:
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
The Web Warrior Guide to Web Design Technologies
Chapter 5 Introduction to XHTML: Part 2
Creating Forms on a Web Page
Presentation transcript:

Introduction to HTML Part 3 Chapter 2

Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms on web page: Textbox, Password box, Checkbox, Radio Button, Drop-down menu, Submit & Reset Button

2.3.1 Frames Allow you to divide into sub-windows. Content of each frame can be independent. Enable you to display more than one web page at a time. Two types : Horizontal Vertical At least three documents needed to create a frame

Defining Frames and tags are used to set the frame type and space (in pixels or percentage) set which HTML file to display and assign name for targeting purposes. display information for browsers that do not support frame function. If you do include this the browser won’t display anything.

Creating Horizontal Frame

Creating Vertical Frame

frameset attribute By default, user can manually resize the frame size by dragging the border. You can add noresize attribute to disable resizing. The frame border can also look ugly so to eliminate it you can add border=0 in the frameset tag. By default, scrollbar will be automatically appear when you have more content than the frame area. You can either force the scrollbar to appear or disable it by applying scroll=“yes” or scroll=“no” attribute in the frameset tag.

Nested frame Frames can be arranged in an interesting way by nesting them Frame CFrame B Frame A

Nested frame

2.3.2 What is Forms … Forms are a way to collect information from web users and transmit it back to web server. The form is an HTML elements that display fields which user can enter information and then click a button to submit it.

…Continued and tags are used to create a form. action attribute provides URL or location of the server-side script that will process the data. You can also send the data to an address by inserting tags are added to create the fields for the users to enter information.

Elements in Forms Text-entry fields Password fields Radio buttons Check boxes Drop-down menus Submit and Reset buttons

Textbox Allows user to enter non formatted and/or non validated text Example of use: Full name Address Phone No

Textbox size attribute determine the length of the textbox. maxlength attribute the maximum number of character can be typed in a textbox.

Password box Similar to textbox except that the characters is not revealed and replaced with asterisks.

Submit/Reset Buttons Submit button is required. Form data will be transmitted to the server when submit button is clicked. The value attribute will determine the label on the buttons. Reset button will clear all form.

Creating a Login Form Username : Password :

Example (Login form)

Checkboxes Allows the user to click on a box to toggle a value to either yes or no. <input type = "checkbox" name=”mailist” value=”yes” checked> I’m interested to join the mailing list

Checkboxes Sometimes, there will a group of checkboxes. In this case, you will have all there checkboxes using the same value in the name attribute.

Grocery Checklist <input type = "checkbox" name ="groceries" value = "milk" checked> Milk <input type = "checkbox" name ="groceries" value = "bread" > Bread <input type = "checkbox" name = "groceries" value= "eggs" > Eggs Checkboxes

Radio Buttons Provide mutually exclusive selection value Only one button may be pressed Pressing an alternate button in a radio button group will automatically remove the previous selection

Radio Buttons What Type of Computer do you have? Pentium <input type ="radio" name ="Computer-Type" value ="486DX">486 DX <input type ="radio" name ="Computer-Type“ value ="486SX">486 SX

Text Area Fields Allows multiple lines of entry to be typed Can be used to capture comments

Text Area Fields Comments: This is text that can be defaulted into the text area field

Combo Boxes Provides efficient way to choose a value from a list of valid values Similar to Radio Buttons