lecture6

lecture6 - PIC 40A Lecture 6: XHTML Forms Forms allow users...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: PIC 40A Lecture 6: XHTML Forms Forms allow users to interact with your site by collecting data responding via controls (widgets) : checkboxes radio buttons text fields password fields file selection mechanisms text areas scrolling menus buttons What is a widget? A widget or control is any element of the XHTML form that has a value eg textfield, select, textarea, etc... Forms start with a form block tag action required attribute (for now value) method attribute get or post eg <form action= method=post> <fieldset> <input type=password name=mypasswd/> <input type=checkbox name=mempwd value=remember checked=checked/> Remember Password </fieldset> </form> Form Organization fieldset element block level creates a logical group of form controls legend element provides a caption for a fieldset <fieldset> <legend>Contact Info</legend> </fieldset> The...
View Full Document

This note was uploaded on 03/15/2010 for the course PIC 40A taught by Professor Ouellette during the Winter '10 term at UCLA.

Page1 / 12

lecture6 - PIC 40A Lecture 6: XHTML Forms Forms allow users...

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

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