HTML (Hyper Text Markup Language) is text markup language used to create HTML documents (Web Pages) for The Internet. HTML is a set of logical codes or tags (markup) that are used to define the Web browser how to present the information in the Web page.
It can be applied and embedded in the text to add formatting, linking that constitute the appearance of the Web documents and the information. It is interpreted by the Web browser. The Web browser is software that runs on the Web client (user computer ) and it interprets HTML tags to display the contents of the Web page.
Source:
HTML is platform independent language. It is not a programming language like C, C++, java and BASIC.
Basically, it is a set of markup tags that tells the browser how to display the Web page content.
Some popular markup languages are DHTML, SGML (Standard Generalized Markup Language), XHTML (Extended HTML),XML (Extensible Markup Language), etc.
Tim Berners Lee developed HTML in 1990, at CERN (Conseil Europeenne pour la Recherche Nucleaire ), the European Particle Physics Laboratory in Geneva, Switzerland.
There are different versions of HTML; these are HTML, HTML+, HTML 1.0, HTML 2.0, HTML 3.2, HTML 4.01 (It has accessibility of Cascading Style sheet, and Multimedia) and now HTML 5.0 ( It has accessibility of local storage and offline database).
Uses of HTML
It is used for basic layout creating or designing the Web page.
Without HTML, the World Wide Web will not exist.
It allows embedding text, image, multimedia (audio / video) and links to other documents and the Web pages.
It provides a means to create structured document by using paragraph, character formatting, links and lists.
It can embed scripts such as CSS, JavaScript, which affect the behavior and design of the Web page.
Advantages of using HTML
It is highly flexible and user-friendly.
It is an open technology that supports almost all the Web browser and platforms like MS-Windows, Macintosh, UNIS, etc.
It is efficient and reliable. You can create the Web page in order to advertise and promote products and services.
It is easily understandable and does not require long time training.
It provides search engine compatible to the Web sites.
Disadvantages of using HTML
It is complex to design attractive Web page only using HTML. So, other languages are used for additional programming.
It is difficult to develop a complete Web Site by using only HTML. Web development tools like Dreamweaver, Foundation are used.
It cannot be used to develop a dynamic Web page.
There is no any complete acceptable standard of HTML.
There are many incompatibilities of HTML.
HTML Tags
HTML is made up of different tags and attributes. The tag is an HTML command that shows the layout or displays the desired output of a whole or part of the Web page. HTML tag is bound by angular brackets ( < > ) that always opens with a < (less than ) sign and closes with a > (greater than) sign. It controls the appearance, layout and flow of the Web page.
A tag contains three parts: element (identification of tag), attribute and value.
The basic structure of tag is:
text
e.g. Computer
Here, is the beginning tag and is the ending tag.
HTML tags can be of two types:
Paired Tags
Singular Tags
1. Paired Tags
It is also called container tag. A tag is said to a paired tag if it along with a companion tag or closing tag appears at the end. For example, the tag is paired tag. The tag with its closing tag is used to rendered in Bold Text. In paired tag, first tag is called the opening tag and the second tag is called the closing tag.
2. Singular Tags
The second type of tag is the singular tag, which is also known as a stand-alone tag or empty tag. The stand-alone tag does not have companion tag or closing tag.
For example : Other singular tags are:
Tags
Description
Insert a link break
Defines a horizontal rule
<!-->
Defines a comment
Meta Tag
The Meta tag is one of the head elements. Meta tag is used to make the Website or its content searchable on the WWW or internet. This tag offers information about page or description about page or author of page or keyword that is relevant to that page. Actually, it is used for search engine information. The search engine interacts with the Meta tag of the HTML page at first.
Basic Structure of HTML Document
The HTML document is mainly divided into two sections. They are: Head section and Body section.
Head section is used as the first tag of any web page which signifies that it is beginning of web page.It has some elements that define header materials. It gives a descriptive title to a document. The HTML 4.0 for many good reasons requires a use of the tag. Titles show up in browser windows title bars and in bookmark and history listings. In each of these cases, one provides an important reader service when one specifies a title because the browser will display just the document’s URL. The remaining HTML elements are contained within.
Here’s the example of basic structure of HTML
Document Title
This is the Body of the Webpage.