What is HTML

What is HTML?

The full form of HTML is Hyper Text Markup Language. Through HTML language, we can write static webpages; so we can not implement logics in it, scripting languages can be used to create dynamic webpages with HTML. There are a collection of HTML tags which are used in designing webpages. Usually HTML files are created with any text editor. It can run on a computer easily which have a web browser. There are some popular HTML editors available in the market, through these editors you can write code in better way and these are absolutely free of cost. An HTML file has .htm or .html extension.

What are Tags

HTML tags are key syntax for representing HTML elements. Without HTML tags we can not write HTML code or even you can not write webpages, some examples of elements are head, table, body etc. HTML tags contain a left angle bracket (<), tag name and right angle bracket (>). Every HTML document is enclosed within the opening and closing HTML tags.

Type of HTML Tags

HTML elements are broadly classified into two main categories:
Container Tags: This type of tags have pair, it means such tags have starting and ending tags, for instance <title></title>, <b></b>, etc. A closing tag follows the same format as an opening tag, but includes a forward slash (/) before the tag name. The container tags affect everything that comes between their starting and ending tag.
Empty tags: This type of tags is required only a beginning tag. Void elements are standalone HTML tags that do not need a closing tag. Examples of such kind of tags <hr> and <br>. <br> tag use for line break. The <hr> element creates a horizontal line to separate content into different sections.

What is attribute or property of a Tag

HTML tags have some attributes or properties through these attributes you can change appearance of your webpage's contents such as text color, font style, size, alignment, border etc.

FAQ 1. What is the full form of HTML? The full form of HTML is HyperText Markup Language. 2. What are the two types of HTML tags? The two main types are container tags and empty (void) tags.