Hypertext Markup Language (HTML)
HTML stands for hypertext markup language. Websites and web pages are created using HTML. Web browsers understand HTML. It is a document that tells a computer how to display webpage. It is a text file containing markup tags that a web browser uses to interpret and display web page. An html file has html or htm file extension.
The basic structure of html page is:
<html> <head> <title>My home page</title> </head> <body>This is my first homepage. </body> </html>
Let’s understand these tags:
- <html>: The first tag of any html document is <html>. This tag tells the browser that this is the state of html document. The last tag of document is </html>, this tells the browser that this is end of html document.
- <head>: The content between the <head> tag and the </head> tag is header information. This information is not displayed in browser window.
- <title>: The content between the <title> tag and the </title> tag is the title of document. This content is displayed in the title bar of web browser.
- <body>: The content between the <body> tags is the actual text that will be displayed to your browser.
Html tags are not case sensitive.