Skip to main content
Richard Hill - Online Learning
An Introduction to XMLZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
4. XHTML
  


Nesting Elements page 10 of 11


Improper nesting, or overlapping is prohibited in XHTML. Whilst the following may be acceptable in HTML:

<H1><I>Using italics in a heading</H1></I>

...you will need to write it this way for a well formed XHTML document:

<h1><i>Using italics in a heading</i></h1>


Main menuSection menuFeedbackPreviousNext
www.shu.ac.uk/schools/cms/teaching/rh1