Introduction to HTML
- HTML is the standard markup language for web content.
- It defines the structure and content of web pages.
- HTML is often used in conjunction with CSS and JavaScript.
- Web browsers render HTML documents into multimedia web pages.
- HTML elements are the building blocks of web pages.
HTML Elements
- HTML elements are written using tags enclosed in angle brackets.
- Tags like
![]()
and directly introduce content into the page.
- Other tags like
and
provide structural semantics for text.
- HTML tags are not displayed by browsers, but are used to interpret the content.
- HTML allows embedding programs written in scripting languages like JavaScript.
History of HTML
- HTML was proposed by Tim Berners-Lee in 1989.
- The first publicly available description of HTML was in 1991.
- HTML was influenced by SGML and early text formatting languages.
- HTML was formally defined as an application of SGML by the IETF.
- HTML 2.0 was the first HTML specification treated as a standard.
HTML Version Timeline
- HTML 2.0 was published in November 1995.
- HTML 3.2 was published as a W3C Recommendation in January 1997.
- HTML 4.0 was published as a W3C Recommendation in December 1997.
- HTML 4.01 was published as a W3C Recommendation in December 1999.
- HTML5 was completed and standardized in October 2014.
HTML5 Features
- HTML5 introduced new elements like for displaying video and audio.
- HTML5 includes support for JavaScript and CSS.
- HTML5 provides improved accessibility features.
- HTML5 supports offline storage and geolocation.
- HTML5 is designed to be compatible with older versions of HTML.