Getting Started with HTML 5


Introduction

HyperText Markup Language is the abbreviation for HyperText Markup Language. HTML is the foundation of the World Wide Web. Hypertext is text on a computer or other electronic device that contains references to other text that the user can access quickly with a mouse click or keypress.

Hypertext can include tables, lists, forms, graphics, and other presentational features in addition to text. It's a simple and adaptable format for sharing data over the Internet. Markup languages employ a set of markup tags to characterize text elements inside a document, giving web browsers instructions on displaying the material. Tim Berners-Lee created the HTML markup language in 1990, and he is also referred to as the "Father of the Internet."

The World Wide Web was launched in 1996. The HTML specifications were handed to the World Wide Web Consortium (W3C). In 2000, HTML was designated as an international standard (ISO). HTML5 is the most recent HTML version. HTML5 allows for a more efficient and reliable web development process.

Features of HTML

  • Text, photos, lists, tables, and other documents can all be published online.
  • Hyperlinks allow you to access web resources such as images, videos, and other HTML documents.
  • You can use forms to collect information from users, such as their names, e-mail addresses, and comments.
  • Images, videos, sound clips, flash movies, programs, and other HTML documents can all be included within an HTML document.
  • You can make an offline version of your website that works even if you don't access the Internet.
  • You can save information in the user's web browser and retrieve it later.
  • You can determine the visitor's current location on your website.

Tags Meaning
< ! Doctype > Defines the HTML version used in the document. In this case it is HTML5.
<html> Opens the page. No markup should come after the closing tag (). The lang attribute declares the primary language of the page using the ISO language codes.
<head> It opens the head section, which does not appear in the main browser window but mainly contains metadata information about the HTML document. It can also contain imports from external stylesheets and scripts. The closing tag is </head>.
<meta> Gives the browser some metadata about the document. The charset attribute declares the character encoding. Modern HTML documents should always use UTF-8, even though it is not required. In HTML, the <meta> tag does not require a closing tag.
<title> The title of the page. Text written between this opening and the closing tag () will be displayed on the page's tab or in the title bar of the browser.
<body> </body> Opens the part of the document displayed to users, i.e., all the visible or audible content of a page. No content should be added after the closing tag.
<h1> A level 1 heading for the page.
<p> Represents a common paragraph of text.