HTML stands for HyperText Markup Language which is most widely used language for building web pages and web applications
Lets see what those words in long form of HTML means.
- HyperText : It refers to the way in which all HTML web pages are linked. I.e in other words we can say text displayed in web pages is linked somehow to other web page which can be easily accessible to user. Thus in short we can say Links available in web pages are called HyperText.
- Markup Language : In simple words it means marking text documents with tags which tells web browser how to structure this document.
So this is in short what HTML is, But to understand it in more depth lets explore more.
So when does HTML start?? and How??
Its a long story but i will not write it here as our focus will be more technical. So, formally HTML started in late 1991 in CERN. It was Developed by physicist Tim Berners-Lee to share scientific documents.
As i have already said HTML is a most widely used Markup Language for creating web pages and web applications.
HTML elements are building blocks of Web pages.
HTML Markup consist of several Key components such as,
- Tags and their attributes
- Character based Data Types
- Character reference
- Entity reference
Most fundamental building block of HTML pages are HTML tags.
- Most common tags comes in pairs like <h1> and </h1> But some tags represent empty elements hence they are unpaired for example <img>.
- In pairs first tag is called start/opening tag and second tag is called as end/closing tag.
Very important part of any HTML file is Document Type declaration which triggers standard mode reading.
lets construct a famous Hello World! program using HTML
<!DOCTYPE html> <html> <head> <title>This is title</title> </head> <body> <p>Hello World!</p> </body> </html>
If you look carefully at above code there are various tags which are essential for web page development.
Lets try to understand them in short here,
- Text between <html> and </html> describes web page
- Text between <body> and </body> is visible page content which will be shown in browser
- Text between <title> and </title> defined the browser page title.
- <title> and </title> are embedded in <head> and </head> tags.
- <!DOCTYPE html> is for HTML5.0
With this much information i will stop for now. If i have missed to elaborate on anything, don’t worry as i will cover everything in further posts.