Introduction to HTML:
Creating your own website may seem a daunting task especially if you are a beginner without having much of technical knowledge. But hold on. It’s much easier than you might think. Although there are many moderate to advance software and tools are available that claims to build a website within minutes, but it’s unlikely that you won’t find a term “HTML” in their lexicon. So it’s a very good idea to get a good hold on HTML in order to create your website efficiently.
HTML stands for Hyper Text Mark-up Language. It’s the language that a web browser can understand and interpret in order to structure and visualise the text of a document. It lets objects and images to be embedded in web page and to create dynamic interactive forms. Along with CSS and Java Script, HTML is a powerful tool that can create dynamic and great looking websites.
So what does Hyper Text Mark-up Language means?
Hyper is exactly opposite of linear. In better words, hyper states that whatever be the process, its need not to be done in sequential fashion. That is, in a website you are not bound to browse each page one by one, you can access any of the document in any order.
Text is, as its self explanatory, any information that you want to display on your web page. The earliest version of HTML was not very capable and its sole use was to exchange textual information in a structured manner and common standard. But with the advancements, the most popular and stable version of HTML i.e., HTML 4.01 is capable of handling multimedia content in a web page.
Mark-up stands for a collection of elements and tags that are used to structure the documents. Using mark-up tags you define the looks of your web page and structure the information and describe the contents of your documents.
There are several key components associated with the HTML. They are HTML tags with attributes, entity references, character references, data types and document type. Document type declaration helps in detecting the type of the document and to use proper mode for its rendering by web browser.
Typically a HTML based page employs the following structure:
As mentioned previously “Doctype” defines the type of document. Here it is HTML. The entire contents betweenandis the web page. The visible part of the web page is enclosed betweenand. HTML is case insensitive i.e.,,andmeans the same thing.
HTML tags and elements
The mark-up tags in HTML are called HTML tags or simply tags. These are the keywords enclosed in angle brackets (< >). Tags usually come in a pair, which is a starting tag followed by a closing tag. But this is not always the case. Ending tags has a slash (/) before the keyword. Thus HTML tags are keywords and using these tags we can have HTML elements. HTML element is composed of tags with the content. For example
"<p> this is a paragraph. </p>"