Click to enlargeIntroduction to xHTML<a name="Top">

Scripting and Programming using xHTML

Author: Bill Routt

Number of Pages: 58
Number of Diagrams: 15

Copyright: 2004


Mobile Video
Magazine
Free Subscription




This book covers what xHTML language is, when to use it, and how to develop programs that use xHTML language.

XHTML Basic is one of the most widely used languages to communicate with mobile communication devices. XHTML Basic is the World Wide Web’s Consortium’s (W3C) initiative to provide a common markup language for wireless devices and other small devices with limited memory. The W3C released its recommendation for XHTML Basic in December 2000. Also, WAP 2.0 Specification includes XHTML Basic along with WML and WMLScript. WAP 2.0 basically allows WML and WMLScript to be embedded within XHTML Basic.

Sample Text and Diagrams

There are 15 explanatory diagrams and 13 code examples in this book

Simple xHTML Basic Forms

Forms are structured displays of screen information that usually allows a user to enter and edit information in predefined fields on specific areas of the form. xHTML uses forms to assist the user in entering and providing information to web servers such as email address, search keywords, and addresses. Forms display information prompts to the user that allows the user to select which information item(s) to enter and send. The form is used to help route the user data to the web server, which passes it to a computer graphics interface (CGI) script, usually written in C++, Perl, Java, or some other scripting language. The data is sent to the CGI script when the submit button is pushed on the XHTML Basic document. The script then processes the data and returns information in the form of an XHTML Basic document to the web browser.

Example 11 and figure 1.12 shows a XHTML Basic document that asks for the users name and email address. It uses the input type “text” for the inputting of the name and the email, and it uses the input type “submit” and “reset” for the buttons on the bottom of the screen.

Example 11


Figure 1.12. Forms Example

Forms can contain visual and non-visual components. Visible components include clickable buttons and other graphical user interface components for the user to interact. Non-visual components, called hidden inputs, store data that the document author wishes to pass to the cgi script.

Table of Contents

Introduction to xHTML

What is XHTML Basic?

When is it used?

Why learn it?

What is the basic structure of XHTML Basic?

Headers
Linking
Images
Special Characters

What are the more advanced features?

Tables
Unordered Lists
Ordered Lists
Nested Lists
Simple XHTML Basic Forms
More Complex XHTML Basic Forms

How does it differ and how is it similar to HTML and WML?

How do you write and simulate XHTML Basic programs?

How do you “publish” XHTML Basic programs, or get them on-line?

The Function of the Server
The Function of the Micro-browser

What is the future of XHTML Basic?

Summary
Questions
Problems

back to top





About the Author

Mr. Routt is a communications product and technology expert and is the department head of Electronics Engineering Technology and Automation/Robotics technology at Wake Technical Community College. Mr. Routt has over 33 years of technical, research, design, development, and instruction experience. He has worked for leading companies including Bell Laboratories, DuPont, Modcomp, Siemens, Gould Computer, and several universities and colleges. Mr. Routt has been published in the Bell System Technical Journal and in the Bell Laboratories Record covering switching system technologies and telecommunications. He continually researches and develops software programs and creates courses on communications and technology automation. Mr. Routt holds many degrees and certificates including a MSEE from Carnegie Institute of Technology and a BSEE from the Pennsylvania State University.

back to top




Introduction to xHTML BK7781300$14.99

Click to enlargeeBook (pdf format)
EB7781300$12.99
Click to enlargeBook+ eBook (pdf format)
BE7781300$19.99