Introduction to HTML Tags


HTML is the language interpreted by the browser. HTML documents or web pages are developed by Hyper Text Markup Language (HTML). HTML is a set of special codes that can be embedded in text to add, formatting and linking the information. HTML is specified as TAGS in an HTML document or Web page.


HTML Tags: An HTML tags begins with an open angle bracket (<) and end with a close angle bracket (>). HTML tag is a signal to a browser that it should do something other than just throw text up on screen. Tags are instructions to the browser which are embedded directly into the text of a web page.


Tags can be of two types, Paired tag and Singular tag. Paired tag comes with a companion tag. For example, <B></B> for bold text, is a paired tag. Here <B> is the opening tag and </B> is the closing tag. The singular tag does not have a companion tag. So it is called stand-alone tag too. For Example, <BR> is for line break is a singular tag.HTML tags require additional information to be supplied for picture or any other objects to display like height, weight to be specified. In this case this tag is called Attributes of a tag. Attributes are written immediately following the tag, separated by space.


HTML document can be create or modify by a simple ASCII editor such as ‘Notepad’. For creating a HTML document user can type textual information and embed them with tags in proper format. After that save the notepad as filename.htm file. Then filename.htm can be view in a browser like Internet Explorer.