Tag Archives: Basic XHTML document structure

  • Basic XHTML document structure

    Basic XHTML document structure (X)HTML syntax is not rocket science, and as such it is accessible to most people. To prove this point, let’s look at a basic web page to see how it is structured: 1 <?xml version=”1.0″ encoding=”iso-8859-1″?> 2 <!DOCTYPE HTML PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> 3 <html xmlns=”http://www.w3.org/1999/xhtml” lang=”en”> 4 <head> […]