Introduction of HTML
HTML is a markup language that is used to create web pages.
What is HTML?
HTML is a markup language for creating web pages.
- HTML stands for Hyper Text Markup Language.
- HTML elements are building blocks of HTML pages.
- HTML elements are represented by tags.
- HTML was written by Tim Berners-Lee in 1991.
- The first version consisted of 18 HTML tags. Now there are currently about 140 tags.
HTML Versions
Version |
Year |
HTML |
1991 |
HTML 2.0 |
1995 |
HTML 3.2 |
1997 |
HTML 4.01 |
1999 |
XHTML
|
2000 |
HTML 5 |
2014 |
Key Points
-
The <!DOCTYPE html> declaration defines this document to be HTML 5.
- The <html> element is the root element of an HTML page.
- The <head> element contains meta information about the document.
- The <title> element specifies a title for the document.
- The <body> element contains the visible page content.
- The <h1> element defines a large heading.
- The <p> element defines a paragraph.
- The <meta> tag is used to represent the metadata about the HTML document. It specifies page description, keywords, copyright, language, author of the documents.
The meta data does not display on the webpage, but it is used by search engine, browsers and other web services, which scan the site or webpage to know about the webpage.
HTML Editors
Web pages can be created and modified by using provessional HTML editors.
Steps to create HTML file and save this
- Step 1- open text editor
- Step 2- write some HTML
- Step 3- save the HTML file with filename.html
- Step 4- open saved file in your browser
Web Browsers
The purpose of a web browser is to read HTML documents and display result.
List of common Web Browsers
- Google Chrome
- Internet Explorer
- Mozilla Firefox
- Microsoft Edge