• +91 9723535972
  • info@interviewmaterial.com

XHTML Interview Questions and Answers

Related Subjects

Question - and
?' href='XHTML-Interview-Questions-and-Answers-8.aspx'>What about elements that don't have a close tag, such as and
?


Answer - There are two solutions. You could use a close tag (e.g. ). However the best solution is to simply include a forward slash in the element: Will this work? As long as you include a space before the slash it will cause no problems in most Web browsers - although there have been reports of problems with some embedded HTML viewers such as Java's Swing HTML editor.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners