HTML Introduction

What is HTML


HTML stands for Hypertext markup language which is used for creating web pages and web application.

You can create static website using HTML. For greater visual and interactive experience, it is used along with CSS and scripting languages like JavaScript.

HTML is a markup language, means using html tags it can mark text to be more interactive and dynamics. you can create links, tables, display images etc.

Brief History of HTML


In the late 1980's , a physicist, Tim Berners-Lee who was a contractor at CERN, proposed a system for CERN researchers. In 1989, he wrote a memo proposing an internet based hypertext system.

Tim Berners-Lee is known as the father of HTML. The first available description of HTML was a document called "HTML Tags" proposed by Tim in late 1991. The latest version of HTML is HTML5, which we will learn later in this tutorial.

HTML Tags


HTML tags are building block of html.

  • HTML tags are keywords surrounded by angle brackets like <html>.
  • HTML tags normally comes in pair like <u> and </u>

Basic example of HTML

Copy/Paste below code and save in a file with extension ".html".

<html>
    <head>
        <title>Web page title</title>
    </head>
    <body>
        <h1>welcome to HTML</h1>
    </body>
</html>

 Double click on saved file, It will open in browser.

<html> : This tag informs the browser that it is an HTML document. Text between html tag describes the web document. It is a container for all other elements of HTML.
<head> It should be the first element inside the <html> element, which contains the metadata(information about the document). It must be closed before the body tag opens.
<title> : It is used to add title of that HTML page which appears at the top of the browser window. It must be placed inside the head tag and should close immediately.
<body> : Text between body tag describes the body content of the page that is visible to the end user. This tag contains the main content of the HTML document.
<h1> : Text between <h1> tag describes the first level heading of the web page.



Comments

Popular Posts

How to Import and Export Delimited Files, like CSV, in PowerShell

How to generate a GUID in PowerShell

PowerShell Arithmetic Operators