HTML(5) TUTORIAL


HTML is the language of web development.HTML is widely used to make and design web pages.We can make web pages responsive and add too many contents using HTML.In our tutorial you will feel good to learn HTML.

Introduction to HTML

  1. HTML is abbrebitaion of Hypertext Markup Language.
  2. A markup language consists of a set of markup tags which describe HTML tags.
  3. There are different type of tags to describe different elements.

Explaination of HTML

  1. Each HTML element starts with a DOCTYPE which defines that document is a HTML.
  2. Each HTML element starts with a tag and ends with a tag.
  3. After DOCTYPE declaration text between HTML tags defines HTML document.
  4. Head element after HTML elements describes content of HTML document.
  5. Then there is TITLE tag which proveides title to the content of HTML.This title is displayed in web browsers.
  6. BODY tag defines that content of page which is visible in output.
  7. Text between h1 tags defines heading.
  8. p element describes content of a patagraph.

Example:

<!DOCTYPE html>
<html>
<head>
<title>
WEB PAGE
</title>
</head>
<body>
<h1>MY FIRST WEB PAGE.</h1>
<p>Learning to code.</p>
</body>
</html>

Output:

MY FIRST WEB PAGE

Learning to code.

Notation:

  • In above example you can see that each html element start with a tag and ends with a tag.
  • The contents that are written in between <body> and </body> are visible in output.