Introduction to HTML
HTML stands for Hyper Text Markup Language. An HTML file is a simple text file containing markup tags. The HTML file must have file extension as 'htm' or 'html'.
HTML is nothing more than fancy structured content and the visual formatting of that content will come later when we tackle CSS. This is the mostly used language to build Web pages.
You might find different approaches elsewhere on the web but Coding Gurus focuses on best practice from the outset and getting into the frame of mind of doing things the right way from the start will lead to much better results in the end.
What is .htm or .html Extensions?
When you are about to save an HTML file, you can use either the .htm or the .html extension. We will continue to use .html in Course. These extensions tell the system or web server that the document is composed in HTML Tags.
Structure of an HTML Document
An HTML document starts and ends with <html> and </html> tags. Inside these two tags, the document is split into two sections:
- 1. The text between <head> and </head> describes the head of web page
- 2. The text between <body> and </body> describes the body of web page