XHTML Basics - Part 2 Introduction This is the second part of my series, XHTML Basics. In this part of the series, I explain what XHTML elements are and how you code (type) them. Elements are tags and their contents, as we shall see below. Two main Sections There are two main sections of an XHTML documents. The first section is the Head, and the second section is the Body. Let us look at the simple XHTML web page again. Here is the code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html... Sign in to see full entry.