First XHTML is modeled through XML. But since XML is not widely used i think you should use XHTML. It has every feature you want, PHP, ASP, Javascript, and other things. The only difference between HTML and XHTML is that XHML is strict coding elements/tags. For example, in HTML you could youse the opening
<p> paragraph tag without even using the
</p> closing tag. But in XHTML you must use the
</p> closing tag. If the element/directive has no corresponding closing tag like for example the line break. You still have to closed it in XHTML by adding a space and a forward slash like this,
<br />.Second, all attributes in an XHTML element/tag must have a value. In HTML there are attributes that does not have a value and its fine. But not in XHTML, so what you have to do is give this attribute a value with its own attribute name. Like for example if you an attribute GOOD which has no value, give it a value good,
good="good".Third in XHTML all elements/tags must be in small caps. Unlike in HTML you could code the center tag like this
<CeNTeR>...</cEntEr> but not in XHTML.
Finally, all attribute values in XHTML must be enclosed with double qoutations. If you have the habit of not enclosing values with double quotation like this
align=left then you must stop that kind of habit in XHTML becuase you need to put the double quotation mark like this one
align="left".
In general I recommend using XHTML becuase it more neat to write and professionaly good. For a full description of HTML and XHTML visit the site of the organization which is responsible for making standards in HTML. There web address is www.w3c.org. You can find the complete reference of HTML, XHTML. THey also have their own validator which validates your HTML or XHTML code to see if it has any code error or not following the standards the markup language.
Feel free to drop me a message if you have a question. I suggest that you have to buy a book

beware of some websites that offers tutorials some of them only confuses the readers. And even some of them mixes up the XHTML coding with the HTML. ALthough it is not that a big problem since most browser just happily interpret the mixed up codes but it is a better idea not to. Consider also using the cascading style sheet technology specialy with tables that are used for layouting your web pages. Good Luck.
Reply