The World Wide Web Consortium (W3C) website offers a complete specification for XHTML, as well as a brief tutorial.