XHTML Tutorial


XHTML References


XHTML Define




What is XHTML define?

XHTML document is a define and identified by current document is a XHTML.
XHTMl document define in top of the document and <!DOCTYPE> tag.

Document Type Definitions (DTD)

Document type definitions is a define the XHTML type of document is Transitional, Strict or Frameset.

Document type definitions is Three ways:
     TRANSITIONAL
     STRICT
     FRAMESET


XHTML 1.0 Transitional

Use the transitional DOCTYPE when you want to write document in proper rules.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML 1.0 Strict

Use the transitional DOCTYPE when you want to write document in clean markup language.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

XHTML 1.0 Frameset

Use the transitional DOCTYPE when you want to write document in HTML frames.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">