What is XHTML?

XHTML is the language used to create and organize a web page:

  • XHTML (Extensible Hypertext Markup Language)is newer than, but built upon, the original HTML (HyperText Markup Language) platform.
  • XHTML has stricter rules and does not allow some elements formerly used in HTML.
  • One benefit of using XHTML instead of HTML is that it helps make web pages look identical in different browsers, such as Internet Explorer, Firefox, Chrome, Safari, Opera, etc.
  • XHTML defines and organizes the page content but does not format or style it.  That is the job of CSS (Cascading Style Sheets), which we will learn later in this course.

Read A brief history of HTML