What is XHTML?

Emily

New member
XHTML is the abbreviated form as a word, extensible hypertext markup language, which is a connection between HTML(hypertext mark-up language) and XML(extensible markup language). At most places, XHTML is deemed to be superior than HTML.

The XHTML is easy to use with other data formats, and it creates more neat code because it is stricter than HTML. So, it is more compatible with most browsers, and it maintains a standard of code that can be used for various devices.

Advantages of XHTML
Here are the following advantages of XHTML, such as:

  • More stylish and easily reusable codes for web applications are developed while using XHTML.
  • This would allow the programmer to create complex web projects with supporting self-authored mark-ups such as SVG, which represents scalable vector graphics.
  • All XHTML codes are convertible to PDFs, RSS, and even RFTs. This allows the developer to work with the world of various files.
  • The XHTML makes the browser take less time to load an event, thus it leads to fast overall development and hence saves time and energy.
  • It makes use of closing tags, and this is very handy for new developers. The code is clean and easy to use.

Disadvantages of XHTML
  • XHTML also has disadvantages like these
  • Very few browsers use XHTML.
  • Case sensitive as every piece of code should be in lower case.
  • It has to write the declaration < DOCTYPE >.
  • And all tags have to be closed in the proper sequence.
 
Back
Top