HTML-I: Basic HTML Elements
HTML (Hyper Text Markup Language) was invented by Tim Berners-Lee. It is the basic language used to write web pages. It allows web sites to bring together graphics, music, videos and links. HTML is a Web Page Layout Language. It supports multimedia and other layout features. HTML is not a programming language or a word processing tool.
HTML document describes web pages. It contains HTML tags and plain text. They are also called web pages.
HTML documents are text files written in HTML editor. The commonly used HTML editors are FrontPage Express, Notepad etc. There are two types of elements in HTML. The elements that require a starting as well as ending tags and another that require just a starting tag and not ending tags. Container elements require pair tags, i.e., a starting tag as well as an ending tag.
HTML tag consists of a tag name surrounded by angle brackets. The tags can have attributes. Attributes provide additional information about the HTML elements on web page. HTML documents are structured into two parts: the HEAD and the BODY. Both of these are contained within the HTML element.
The Head Tag defines the function header. The contents of the HEAD are not displayed as part of the document text. The Body Tag contains all the contents of a document. HTML has six levels of headings, marked by the element names H1, H2,… H6. H1 is used to mark the main document.