(Excerpt from "The MathML Handbook" by Pavi Sandhu)
Objects and methods
Each object has a set of methods that are functions for performing specific actions. For example, the document.write command used in the example above represents the write method associated with the document object. Each object also has a set of properties associated with it. For example, the document.fgcolor and document.bgcolor commands represent the foreground color and background color properties of the current document, respectively.
Forms and controls
The most common way for users to interact with Web pages is through HTML forms and controls. Forms allow users to enter some input and send it to the Web server for processing. Each form is represented in HTML using a form element. A form can contain interactive items called controls for specifying input. There are many different types of controls such as buttons, checkboxes, radio buttons, menus, and text boxes. These are represented by HTML elements such as input, selection, and textarea.
Example: An HTML document that contains controls.
|<< back||next >>|
Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.
CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America