13-cg3-forms-in-xhtml

13-cg3-forms-in-xhtml - Basic Interactivity and XHTML Forms...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Basic Interactivity and XHTML Forms Mary ET Boyle, Ph.D. Department of Cognitive Science
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Interactive Features • Web site: static vs. dynamic publishing environment. • Software: users can perform tasks and interact with content. • Forms enable users to submit information that can be used to create an interactive environment.
Background image of page 2
Types of forms used: • Comment response • Order entry • Subscription • Registration • Customization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Form preliminaries • Making the form is easy. • You just need <form> … </form> elements. • It is the processing of the forms that can be tricky. Where does it go?
Background image of page 4
PHP Request page PHP output PHP output Run PHP
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The <form> element • A form can be located anywhere in the body of an XHTML document. • A document can contain multiple forms. • Forms cannot be nested. • Other XHTML elements can be contained within the <form> element.
Background image of page 6
The action= attribute <form > </form> action =“ go to the URL specified here!” The action attribute: How an XHTML form is to be handled is set using the action attribute for the form element. The
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/07/2011 for the course COGS 3 taught by Professor Boyle during the Spring '08 term at UCSD.

Page1 / 20

13-cg3-forms-in-xhtml - Basic Interactivity and XHTML Forms...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online