• Document developers and user agent designers are constantly discovering new ways to express their ideas through new markup. In XML, it is relatively easy to introduce new elements or additional element attributes. The XHTML family is designed to accommodate these extensions through XHTML modules and techniques for developing new XHTML-conforming modules (described in the XHTML Modularization specification). These modules will permit the combination of existing and new feature sets when developing content and when designing new user agents.
  • Alternate ways of accessing the Internet are constantly being introduced. The XHTML family is designed with general user agent interoperability in mind. Through a new user agent and document profiling mechanism, servers, proxies, and user agents will be able to perform best effort content transformation. Ultimately, it will be possible to develop XHTML-conforming content that is usable by any XHTML-conforming user agent.

2. Definitions


The “method” attribute define how form’s data is sent to the processing agent. There are two possible values for this attribute (case-insensitive):

  • get: The form’s data is added to the URI defined in the action attribute (e.g., handler.php?pname=jhon&plastname=malcovich).
  • post: The form’s data is added to the body of the form.

Action (uri)

Designates the location of the file that will handle the form’s inputs. Forms are usually handled by server side scripts.

<form action=”handler.php”>

Enctype (content-type)

Specifies the content-type of the submitted data, when the value of the “method” attribute is “post”. For example, the value “multipart/form-data” should be used when uploading files through a form. Default value is “application/x-www-form-urlencoded”.

The root element of the document must contain an xmlns declaration for the XHTML namespace [XMLNS]. The namespace for XHTML is defined to be http://www.w3.org/1999/xhtml. An example root element might look like:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: