XHTML Tutorials

XHTML Tags and Basic Examples

In XHTML, the tags are enclosed between the 2 angled brackets, "<" and ">". It is used for the identification of the marked up element. For every web page there will be corresponding XHTML document. Each web page will be displayed in different styles depending on these mark-up tags. The tags are not only used for the styling of web pages alone but also used for designing the layout of the page design. These basic XHTML tags when working in conjunction with CSS can be styled pretty much any way your mind can imagine. There are different types. READ MORE

XHTML Doctypes for easy reference

Here’s the 3 DTD used in XHTML. I have included them here for easy access for cut–and–paste when you’re creating your new XHTML compliant web document. Remember‚ if you plan on having a web page that passes the W3C validation test’s you MUST declair a doctype at the very beginning of your file.

If your new to XHTML and used to programming in HTML‚ then use the XHTML Transitional doctype. This will render the file slightly different. It’s a little more lenient as to the html/xhtml transition. READ MORE