Why HTML5?
Below are some differences that may or may not have caught your attention since developers started using HTML5:
- Some data can be stored on the user’s device, which means apps are cached and can continue to work properly without an Internet connection.
- Web pages can display fonts with a wider array of colors, shadows, and other beautiful effects.
- Objects on the page can be more responsive and can move in response to the user’s cursor movements.
- New elements like section, header, article, and nav can replace most div elements, which helps eliminate div soups and makes it easier to scan for mistakes.
- Before HTML5 cookies which hold a limited amount of data were the only reliable way to store data, HTML5’s localStorage provides developers a way to work around the stateless nature of the HTTP protocol.
- Browsers can display interactive 3D graphics using the computer’s own graphics processor.
- By limiting the need for external plugins, HTML5 allows for faster delivery of more dynamic content.
HTML5
HTML stands for HyperText Markup Language. It is used to design web pages using a markup language. Hypertext defines the link between the web pages. A markup language is used to define the text document within the tag which defines the structure of web pages.
HTML 5 is the fifth and current version of HTML. It has improved the markup available for documents and has introduced application programming interfaces(API) and Document Object Model(DOM). It has introduced various new features like drag and drop, geo-location services, multimedia features, easy doctype declaration, offline data storage, graphic elements, and various semantic tags like the article, section, header, footer, figure, summary, etc. It is supported by all modern browsers.