HTML

What is HTML ?

HTML stands for Hypertext Markup Language, and it is most widely used language to write Web Pages.As its name suggest, HTML is markup language.
  • Hypertext refers to the way in which yperteWeb pages (HTML Documents) are linked together.When you click a link in a wWeb page, you are using hypertext.
  • Markup Language describes how HTML works. With a markup language, you simply "mark up" a text document with tags that tell a Web browser how to strucrure it to display.

Why to learn  HTML ?

It is possible to create webpages without knowing anything about the HTML source behind page.
There are exellent editors on the market that will take care of the HTML parts. All you need to do is layout the page.
However, if you want to make it above average in web design, it is strongly recommended that you understand these tags.

The most important benifit are:
You can use tags the editors does not support.
You can read the the code of others people's pages, and "borrow" the cool effects.
You can do the work yourself, when the editor simply refuses to create the effects you wants.


Words to know

  • Tag - tag is a command the web browser interprets. Tags look like 

Doctype Declaration 

The tag defines the documentation type and version of HTML.  

HTML Elements

An HTML element is every thing from the start tag to the end tag :

TagDescription
<!DOCTYPE...>This tag defines the document type and HTML version.
<html>This tag encloses the complete HTML document and mainly comprises of document header which is represented by<head>...</head> and document body which is represented by<body>...</body> tags.
<head>This tag represents the document's header which can keep other HTML tags like <title>, <link> etc.
<title>The <title> tag is used inside the <head> tag to mention the document title.
<body>This tag represents the document's body which keeps other HTML tags like <h1>, <div>, <p> etc.
<h1>This tag represents the heading.
<p>This tag represents a paragraph.
              


Document structure of the HTML

Document declaration tag 
<html>
   <head>
       Document header related tags
   </head>

   <body>
       Document body related tags
   </body>
</html>