What Is HTML? Basics Explanation

HTML stands for Hyper Text Markup Language.

What Is HTML : Hypertext means a simple and ordinary text that is been decorated with some extra features such as formatted images, multimedia and links.

Markup is the process of taking ordinary text and symbols.

Example: when a student studies, he marks up some text as IMP i.e. important, VIMP i.e. very important or ASKED IN specifies the year that topic is asked in. These symbols are a type of markup.

Each symbol used for markup in HTML instructs the browser about how to display the text.

Language defines that HTML is a computer language having its own syntax, expressions, and rules to communicate with the end user. However, HTML is NOT a programming language; it’s just a markup language.

HTML’s Goal: To be a Universal Language

The only thing HTML does is it tells a browser how to display the text. This allows the documents to be displayed attractively and correctly on many different kinds of platforms.

HTML is designed to work on a wide variety of platforms. Not just on computers but also on a wide variety of graphical workstations, dumb terminals, network computers, hand-held devices, TV sets, game consoles, digital watches, and text to speech machines.

What are the Advantages of HTML

  1. Flexible: As it is platform independent, browser independent and not dependent on any particular piece of software and can be written in any text editor, you can work with HTML any where and on any machine.
  2. Structural building up : HTML allows using of tags from ground up i.e. systematic use of start and end tags and which tag/attribute to be used with in what.
  3. Free of cost: Working on HTML doesn’t cost you even a cent.
  4. It is simple.
  5. It is case-insensitive.
  6. It has hypertext i.e. the text having ability to connect to the other text.
  7. It has the features like tables and applets.

What are the Disadvantages of HTML

  1. Dynamic web pages cannot be created with HTML: HTML is a static web technique, that is one can only see information, but no interaction between the user and server.
  1. HTML doesn’t pass information to pages: It cannot maintain states as it doesn’t support sessions or cookies and such.
  1. All the browsers may not support all the tags of HTML..

HTML Key Points

Few important things we should be aware of to begin with HTML are:

Internet: It is the network of computers used to view the information spread over worldwide. It was started in US in 1969. The first internet is ARPANET (Advanced Research Project Agency).

TCP/IP (Transmission Control Protocol / Internet Protocol)

protocols: These protocols are a set of network rules that are used to communicate with the system in the network.

Web page: It consists of normal text and HTML tags interpreted by the browser. A static web page is stored using the file extension .htm or html. Web pages are useful as it is:

  1. Cheap and easy medium of spreading information to a large audience.
  1. A medium to market/advertise your business.
  1. Used to create our own personal website.

Website: It is a collection of related web pages.

Browser: Browser is software used to view the web page. There are varieties of browsers like Internet explorer, Netscape navigator, Netscape gold, Mozilla Firefox, Opera, etc.

Web server: A web server is a machine or system which provides services related to web. It is software or program that allows publishing web pages over WWW. Few examples of web servers are IIS, Apache server and PWS.

To Learn HTML Click Here

HTML Tags

Tag is used to specify “mark-up” regions of HTML documents for the web browser to interpret. Tags are enclosed in angular brackets i.e. ‘<‘ & ‘>’.

A completed tag is termed an element. Element is a complete tag having 3 major parts: opening tag, content and closing tag.

Example: <BODY> Learning HTML </BODY>

Collection of HTML elements make up an HTML document. These elements are defined using the HTML tags and the location of appearance of elements is defined by the order in which the tags are written.

By adding a tag, you instruct the web browser how to display text and graphics on a web page. A web browser reads an HTML document top to bottom, left to right and displays accordingly.

There are basically two types of tags:

  1. Singular ptag or empty tag: A tag which does not have It is also known as opening tag. any end tag.

Syntax:

<tagname> or <tagname/>

Example:

<hr>, <br>

  1. Paired tag or container tag: A tag which has starting tag as well as ending tag is called as paired tag. The ending tag is same as starting tag only prefix with front slash.

Syntax:

<tagname> text </tagname> Example:

<html> and </html>

Basic Structure of HTML

<<HTML>

<HEAD>

<TITLE>TITLE OF HTML DOCUMENT</TITLE>

</HEAD>

<BODY> ACTUAL CONTENTS OF WEB PAGE DOCUMENT </BODY>

</HTML>

Every HTML document starts with an <html> tag and ends with </html> tag. This tag tells the browser where the document begins and where it ends.

The HTML document is divided into 2 sections i.e. head and body i.e. inside <html> and </html> there is <head>……</head> and <body>……</body> tags.

  1. Inside <head> and </head> tags there are <title> …… </title> tags which display the title of the document in the web browser’s title bar
  2. Inside <body> and </body> actual contents of html document art placed.

Example:

<!–This is my first HTML page. –>

<html>

<head>

<title>First HTML page</title>

</head>

<body>

I am Learning HTML

And will do lot of experiments with various

HTML tags

</body>

</html>

Leave a Reply

Your email address will not be published. Required fields are marked *