|
Answer» Yes, In XHTML we can insert only CERTAIN tags inside other tags. Example: <ol> Some my favorite flowers are: <li>lotus</li> <li>lilly</li> <li>SUNFLOWER</li> and my most favorite flower is: <li>red ROSE</li> </ol> In the above example we insert the paragraph between <li> tag.It's wrong. In case of XHTML our example LOOKS like that, becomes <p> Some my favorite flowers are:</p> <ol> <li>lotus</li> <li>lilly</li> <li>sunflower</li> <li>red rose</li> </ol> Yes, In XHTML we can insert only certain tags inside other tags. Example: <ol> Some my favorite flowers are: <li>lotus</li> <li>lilly</li> <li>sunflower</li> and my most favorite flower is: <li>red rose</li> </ol> In the above example we insert the paragraph between <li> tag.It's wrong. In case of XHTML our example looks like that, becomes <p> Some my favorite flowers are:</p> <ol> <li>lotus</li> <li>lilly</li> <li>sunflower</li> <li>red rose</li> </ol>
|