An Introduction to HTML
HTML which is stands for Hypertext Markup Language, is the language of web browsers.If anything which is available on internet then primarily its available in HTML. If we describe it in more elaborated sense then Hypertext means its support the feature to Hyperlink that means quick navigation can be provided with it.The term Markup Language is consist of markup tags which makes it syntactically different than normal text.
So Collectively HTML is a Markup language that uses tags to represent the text in a different manner. Although there are other markup languages available as well like xml,wml,Xhtml etc.. But HTML is most easy and popular markup language from all. So HTML is a collection of tags which are used to write HTML codes.
Basically there are two types of HTML tags.
i) Paired Tags : Paired tags are those tags that always comes in pair one for starting of tag and other for ending of tags.
Example of Paired tags are:
here is starting tag and is end tag and so on.
ii) Unpaired Tags: Unpaired tags are those tags that is basically come only once here there is no any start and end for same tag. These tags are also known as singular or stand alone tags.
HTML is basically used to create a web page by using either paired or unpaired tags. Here is an example of HTML webpage creation. Write following code and save it as index.html (basically html is an extenstion of HTML files)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>untitled</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="generator" content="Geany 0.18" /> </head> <body> This is the HTML page </body> </html>