What is HTML?
HTML is a data language which is used to edit and stylize web pages. People sometimes refer to it as a programming language which is not correct.HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>). HTML tags most commonly come in pairs like
</i>, although some tags represent empty elements and so are unpaired, for example <img>. The first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags).
To know more about HTMl, Go to HTML.
Let's Get Started
So below we have a very basic format of an html program. Please don't mind the colouring of the tags
- The DOCTYPE declaration defines the document type.
- The text between <html> and </html> describes the web document.
- The text between <body> and </body> describes the visible page content.
- The text between <h1>and </h1> describes a heading.
- The text between describes paragraph.
HTML tags are keywords (tag names) surrounded by angle brackets:
The <!DOCTYPE> declaration helps the browser to display a web page correctly. There are many different documents on the web, and a browser can only display an HTML page correctly if it knows the HTML version and type.[Sourced from W3schools.org]