Introduction to HTML

Introduction to HTML

HTML Introduction: Welcome to, Now we will discuss about Introduction to HTML. All we know HTML is the most commonly used language for writing web pages. HTML is a hypertext markup language. Now In this article we will learn Introduction to HTML.

Read: HTML Tutorial Series

Introduction to HTML

  • The link available on the web page is called hypertext. Hypertext means web pages (HTML documents) linked together.
  • HTML is a markup language, which means that you only use HTML to “mark-up” a text document with a tag that tells the web browser how to display it.

HTML was developed by researchers with the aim of facilitating the sharing of scientific information. HTML was defined to define the structure of documents such as headings, paragraphs, lists.

India's Cheapest Digital Services Provider skrcreations

Now, HTML is being widely used to format web pages with the help of various tags available in HTML language.

Basic HTML Document

In its simplest form, the following is an example of an HTML document

<!DOCTYPE html>

      <title>This is document title</title>
      <h2>This is a heading</h2>
      <p>Document content goes here.....</p>

This is a heading

Document content goes here…..


HTML is a markup language, as described earlier, and uses various tags to format the content. These tag angles are enclosed within braces <tag name>.

Most tags have their respective closing tags. Except for some tags, for example, <html> has its own closing tag </html> and <body> tag has its own closing tag </body> tag etc.

The following tag is used in the example above the HTML document

Tags and description

  1. <! DOCTYPE …> : This tag defines the document type and HTML version.
  2. <html> : This mainly includes the document header. This tag encloses the full HTML document represented by <head> … </head> and the document body <body> …</body>.
  3. <head> : This tag represents the header of the document that can hold other HTML tags such as <title>, <link>, etc.
  4. <title> : The <title> tag is used inside the <head> tag to refer to the document title.
  5. <body> : This tag refers to the body of other HTML tags such as <h1>, <div>, <p> etc.
  6. <h1> : This tag indicates heading.
  7. <p> :  This tag represents a paragraph.

To learn HTML, you have to understand how they behave when drafting text documents. You have to study various documents and learn that HTML is as simple as users One needs to learn to use various tags to format text or pictures to create a beautiful web page.

The World Wide Web Consortium (W3C) recommends using lowercase tags starting with HTML 4.

HTML document structure

The HTML document will have the following structure –

      Document header related tags
      Document body related tags

Now, let us see what the document declaration tag is.

<! DOCTYPE> Declaration

To understand the version of HTML used in the document, the web browser <! The DOCTYPE> declaration tag is used.

The current version of HTML is 5 and uses the following declaration –

<!DOCTYPE html>

There are many other declaration types in an HTML document that can be used depending on which version of HTML. Depends on it. We will see more details on this while discussing <! DOCTYPE …> Tags with other HTML tags.

Learn More about HTML:

Read More:

Share This Article:

Leave a Reply