Friday, January 16, 2026

HTML Vs HTML5

 HTML stands for Hyper Text Markup Language. It is used to design web pages using a markup language. HTML is a combination of Hypertext and 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. This language is used to annotate (to add notes to a book or text, giving explanations or comments, at the note for the computer) text so that a machine can understand it and manipulate text accordingly.

Features of HTML:

  • It allows the creation of hyperlinks with the <a> tag, connecting different web pages.
  • Uses tags to mark elements and content, such as headings (<h1> to <h6>).
  • It supports embedding images (<img>), videos (<video>), and audio (<audio>) for multimedia content.
  • It provides form elements like <form><input>, and <button> for user input and data submission.
  • Semantic tags like <article><section>, and <nav> for better document structure and accessibility.

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

Features of HTML5:

  • Older version of HTML are less mobile-friendly. HTML5 language is more mobile-friendly
  • Introduced new semantic elements like <header><footer><section>, and <article> for improved structure.
  • Enhances multimedia capabilities with native support for audio and video elements.
  • Provides the localStorage API, allowing web applications to store data locally on the user's device.
  • Enables websites to access a user's geographical location.
  • Uses SQL database to store data offline.

No comments:

Post a Comment

Python Dictionary

  Removing Dictionary Items Dictionary items can be removed using built-in deletion methods that work on keys: del :  removes an item using ...