Thread: What is XHTML?
View Single Post
  #10 (permalink)  
Old 07-14-2008, 01:31 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: What is XHTML?

In HTML, the following code might display exactly as you intended:

<strong><em>Here’s some bold and italicized text</strong></em>

Although this might work, it’s not “good” code. And for the purposes of this article, not valid XHTML either. To complete your XHTML training, simply make sure your tags are properly nested:

<strong><em>Here’s a valid XHTML version of bold italicized code</em></strong>
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote