Webdesign Glossary - XHTML

XHTML (Extensible HyperText Markup Language) is essentially just a different version of the regular HTML language, but one that is expected to conform to stricter XML syntax. Even if the following statement isn't entirely true, XHTML can generally still be said to be the successor to regular HTML and likely to become the "next generation" in web site markup standards.

An example of some XHTML code (with some CSS styling):

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
    <title>Simple XHTML web page</title>
  <body style="background-color: #ffff00; padding: 50px;">
    <div style="background-color: #ffff88; padding: 20px;">
        A paragraph with some random text in it.
      <img src="picture.jpg" style="width: 50px; height: 30px;" alt="An image!" />

If you want to learn the basics of XHTML - check out my XHTML tutorial.

Back to the Web Glossary index
robert@eagleowl.se     +46 (0)26-16 13 61     www.eagleowl.se
©2019 EagleOwl