Home About Contact Privacy Terms Disclaimer
TECHAntena
Last Updated On: July 20, 2017
Editor: Adeeb C

Basic HTML Webpage: Introduction to HTML

Category: HTML
Tags

Are you beginner to the web designing? Then you might want an introduction to the HTML. Here is an example of basic HTML web page. A web designer primarily must know three languages: HTML, CSS, and JavaScript.

HTML or Hyper Text Markup Language is used to design web pages. HTML is not a programming language but it is a markup language. The web pages are created using the HTML along with CSS for styling and JavaScript for programming.

HTML

The HTML describes the basic structure of web page using the markup. The building blocks of the web pages are called elements. The HTML elements are represented by tags.

<!DOCTYPE html>
<html>
<head>
<title>Example Page Title</title>
</head>
<body>
<h1>This is the example heading</h1>
<p>This is an example paragraph</p>
</body>
</head>
  • In the above example, DOCTYPE indicates the HTML document to be HTML5.
  • The whole HTML codes is placed within the tags <html> and </html>.
  • The <head> and </head> contains meta informations of the html page.
  • All the visible parts of an HTML page goes between the tags <body> and </body>.
  • The <h1> and </h1> tags are used to wirte the largest heading in the html document.
  • A paragraph in the HTML document is written within <body> and closing tag </body>.