HTML is a collection of instructions you include along with your content in a plain-text file that specifies how your page should look and behave. HTML mixes ordinary text with special strings of characters, called markup, used to instruct browsers how to display HTML documents, also called web pages.
All things considered, HTML is a very straightforward language for describing the contents of a web page. Since it is text based, you can create and edit it in any application that creates plain text (e.g. notepad). There are of course, a wide variety of software tools to help you create web pages, but essentially, they generate text files just as plain-text editors do. For a beginner, the best option is to create HTML documents in notepad and save the file with an ‘.html’ extension. The page thus created can be viewed in any browser.
HTML has three main components:
Elements: Identify different pieces and parts of an HTML page.
Attributes: Provide additional information about an instance of an element.
Entities: Represent non-ASCII text characters such as copyright symbols (©) and accented letters (É).
In order to create HTML web pages, you just type in your text and then you insert markups called “tags” that spell out how you want things to behave in a webpage. In general, tags use the following format:
The text to be affected