HTML stands for Hyper Text Markup Language, which is the root of any web Web design whether it is Facebook or Google .HTML is not a Programming language, it is a markup language. That means in HTML you cannot implement logics, you cannot run loops. Unlike programming languages it uses tags to describe a web page.
The best part of this language is that you do not need any fancy compiler or IEDs what you need is just a simple text editor like notepad or WordPad which is bundled with Windows itself so no need to install. You can write the code in the text editor then save it as .htm or .html. There is no difference between .htm and .html it just up to you.
<h1>Your First Heading</h1>
<p>Your first paragraph.</p>
- The text between <html> and </html> describes the web page.
- The text between <body> and </body> is the page content.
- The text between <h1> and </h1> will be displayed as a heading.
- The text between <p> and </p> will be displayed as a paragraph.
Copy the above text to your text editor and save it as filename.html. Then go to the folder where you saved it and then open it.
You clearly see that every tag has a closing tag. Like <h1> has closing tag of </h1>.Without closing your tag the header will not be displayed as headers. So, be careful with that.
This is the start; soon you will be learning how to create WebPages like a pro. So, stay tuned.