Question - Explain the Advantage and Disadvantages of using HTML5.
Answer -
Some advantages of HTML5 are:
- Better semantics and cleaner code.
- Consistency in coding a web page.
- Elegant and fancier forms reduced need for JavaScript.
- Geolocation support.
- Many new features that make animations and front-end elements easier to code and display on different browsers.
- Offline application cache which helps users to view a page even when they are not connected to the internet.
Some disadvantages of HTML5 are:
- Only modern versions of the browsers support HTML5. Not all users use the latest version of browsers.
- Many features are still not stable and are in the development stage.
- Due to licensing issues, the rich media is compressed into multiple formats to be compatible with most browsers.