Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index

XHTML FAQs - Introduction To XHTML 1.0

By: FYICenter.com

Part:   1  2   3 

(Continued from previous part...)

What Is the Relation between XHTML and the Web?

The Web is a publisher technology based on the Internet to allow publishers to publish hyper linked documents to be viewed by Internet users.

XHTML is the next generation language that used to compose those hyper linked documents. In another word, XHTML is the technical language that controls Web page contents and hyper links.

What Is the Relation between XHTML and HTTP?

HTTP (Hyper-Text Transfer Protocol) is an Internet communication protocol, that allows a viewer's computer talking to a publisher's computer to fetch XHTML documents.

The viewer's computer issues a HTTP request message to the publisher computer first. Then the publisher returns a HTTP response message back to the viewer's computer with the requested XHTML document included in the message.

The following diagram shows how HTTP works with XHTML documents:
            HTTP Diagram

For more information on HTTP, please visit http://www.w3.org/Protocols/.

What Is the Relation between XHTML and URL?

URL (Uniform Resource Locator) is a compact string representation of the location for a Web document or other resource that is available on the Internet.

The URL of an XHTML document is usually the document file name prefixed with the domain name of your Web server and the http protocol name. As soon as you uploaded an XHTML document to a Web server, that document will have a URL to represent its location on the Internet. For example, if you have a Web server with domain name like fyicenter.com, and you have uploaded an XHTML document called welcome.html, then the URL of that XHTML document on the Internet is http://www.fyicenter.com/welcome.html.

For more information on URL, please visit http://www.w3.org/Addressing/.

What Is URI?

URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and extensible means for identifying a resource in a more generic way. For example, the following strings are all valid URIs:

   ftp://ftp.is.co.za/rfc/rfc1808.txt
   http://www.ietf.org/rfc/rfc2396.txt
   ldap://[2001:db8::7]/c=GB?objectClass?one
   mailto:John.Doe@example.com
   news:comp.infosystems.www.servers.unix
   tel:+1-816-555-1212
   telnet://192.0.2.16:80/
   urn:oasis:names:specification:docbook:dtd:xml:4.1.2

When an XHTML document is published on the Internet, its location can be represented by a URL, which is also a URI.

For more information on URI, please visit http://www.gbiv.com/protocols/uri/rfc/rfc3986.html.

What Is the Relation between XHTML and SGML?

SGML (Standard Generalized Markup Language) is a metalanguage in which one can define markup languages, like HTML, for documents. SGML is a descendant of IBM's Generalized Markup Language (GML), developed in the 1960s by Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials also happen to be GML).

XHTML is not directly related to SGML. But it is indirectly to SGML through HTML.

For more information on SGML, please visit http://www.isgmlug.org/sgmlhelp/g-index.htm.

What Is the Relation between XHTML and CSS?

CSS (Cascading Style Sheets) is a technical specification that allows XHTML document authors to attach formatting style sheets to XHTML documents. When XHTML documents are viewed as Web pages through Web browsers, the attached style sheets will alter the default style sheets embedded in browsers.

For more information on CSS, please visit http://www.w3.org/Style/CSS/.

What Is the Relation between XHTML and DTD?

DTD (Document Type Definition) is a language based on XML to you to define a specific type of XML documents.

Since XHTML is a specific type of XML documents, you can use DTD to define the structure of XHTML. In fact, XHTML 1.0 Strict version is defined in DTD as shown at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.

For more information on DTD, please visit http://www.xmlfiles.com/dtd/default.asp.

(Continued on next part...)

Part:   1  2   3 


Selected Developer Jobs:

More...