XHTML is HTML all grown up with standards and rules enforced.

at its most basic:

1) nested tags must be nested properly.  e.g. <strong><em>foo</em></strong>.
2) all tags must be closed.  e.g. <li>this is a list item</li> or
<option value="foo">this is an option</option>.  tags can be
self-closed if there is no data (such as <br /> as opposed to <br><br
/>).
3) all tag attributes must be enclosed in quotes.  e.g. <img
src="foo.gif" />.  <img src=foo.gif /> won't fly.
4) all tag attributes must be lowercase.  if you use onClick, get used
to onclick.
5) no shorthand notation.  e.g. <option value="foo"
selected="selected"> as opposed to <option value="foo" selected>

i think that covers most of the differences between XHTML and HTML really.

why use it?  because it's a standard...and i say so :)

what is needed to use it?  whatever you currently use to write HTML.


On 8/22/07, Paul Ihrig <[EMAIL PROTECTED]> wrote:
> so what is xhtml?
> why should i use it?
> what is needed to use it?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:241088
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to