|
Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML FAQs - Introduction To XHTML 1.0
By: FYICenter.com
Part:
1
2
3
A collection of 17 tutorial tips on XHTML 1.0 introduction. Clear answers are provided for frequently asked questions on what is XHTML, Web, HTTP, XML, HTML, URL, SGML, CSS, and DTD; who developed XHTML; writing and viewing XHTML documents.
Topics included in this collection are:
- What Is XHTML?
- What Does an XHTML Document Look Like?
- What Is the Relation between XHTML and HTML?
- What Is the Relation between XHTML and XML?
- What Is the Relation between XHTML and the Web?
- What Is the Relation between XHTML and HTTP?
- What Is the Relation between XHTML and URL?
- What Is URI?
- What Is the Relation between XHTML and SGML?
- What Is the Relation between XHTML and CSS?
- What Is the Relation between XHTML and DTD?
- Who Developed XHTML?
- What Is the Latest XHTML Specification?
- How Many Tags Are Defined in XHTML 1.0?
- How To Validate XHTML Documents Online?
- What Tools to Use to Write XHTML Documents?
- What Tools to Use to View XHTML Documents?
Please note that all tutorials in this collection are based on XHTML 1.0 specification.
What Is XHTML?
XHTML stands for Extensible Hyper-Text Markup Language.
XHTML is a scripting language that authors can use
to embed text tags into a text document to add structural and formatting information.
More precisely, XHTML gives authors the means to:
- Publish online documents with headings, text, tables, lists, photos,
etc.
- Retrieve online information via hypertext links, at the click of a
button.
- Design forms for conducting transactions with remote services, for use in
searching for information, making reservations, ordering products, etc.
- Include spread-sheets, video clips, sound clips, and other applications
directly in their documents.
What Does an XHTML Document Look Like?
An XHTML document is a normal text file with predefined tags mixed with the text contents
of the document. Tags are enclosed in pairs of angle brackets: "<" and ">".
Below is how a simple XHTML document will look like if you open it in a text editor:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First XHTML Document</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>
What Is the Relation between XHTML and HTML?
HTML (Hyper-Text Markup Language) is the original markup language
for writing Web documents.
XHMTL 1.0 is basically the same language as HTML 4.0. But XHTML 1.0 is defined
in XML 1.0 syntax. XHTML 1.0 offers the following features:
- XHTML documents are XML conforming. As such, they are readily viewed, edited, and
validated with standard XML tools.
- XHTML documents can be written to operate as well or better than they did before in
existing HTML 4-conforming user agents as well as in new, XHTML 1.0 conforming user
agents.
- XHTML documents can utilize applications (e.g. scripts and applets) that rely upon either
the HTML Document Object Model or the XML Document Object Model.
For more information on HTML, please visit
http://www.w3.org/MarkUp/.
What Is the Relation between XHTML and XML?
XML (Extensible Markup Language) is a generic markup language to organize
generic information into a structured document with embedded tags.
XHTML is entirely based on XML. You can actually say that
XHTML is a child language of XML.
For more information on XML, please visit
http://www.w3.org/XML/.
(Continued on next part...)
Part:
1
2
3
|