What is HTML

What is HTML

html

what is HTML

Html stand for hypertext markup language. It is language which is used to create web page. Markup mean this language tell the browser how to display simple text document in different format like heading, paragraph , list ,link and other formats. HTML was developed by Tim Berners Lee in 1991 , to share Document between researchers . in html we use tag to define HTML document.

What is HTML Tags?

html tags are keywords which are written in angles brackets (less than and Greater than <>). Every tag has a start tag and Close tag. For example

1

<span style="font-size: 14pt;"><h1>First heading</h1></span>

here <h1> is start tag and </h1> end tag.

We close a tag with slash (/).

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

Basic syntax of tag:

<start tag name>Content</endtag name>

Simple HTML Page:

<!DOCTYPE html>

<html>

<head>

<title>Thisismy first web page</title>

</head>

<body>

<h1>Thisismy first heading inHTML</h1>

<p>Thisismy first Paragraph inHTML</p>

</body>

</html>

This is very simple HTML Page. Now I will briefly explain it.

1

<!DOCTYPE html>:

This is use by browser to understand current version of html , which is HTML5.

<html>:

This is main HTML tag, in which we define whole html document.

<head> :

In head portion of html , we define meta data . what is meta data ? Data about data is called meta data . In meta data we define meta keyword , meta description , title , css code and javascript code.

<title> : title tag is use to define title of document.

<body>:

Body tag is an other very important HTML tag , in body tag we define visible content of web page.

How to write HTML?

Or you can use simple window note pad ,as beginner simple note pad is best for practice.

Just follow step to write html code by using simple window note pad.

1st step

Click on start menu . write note pad in search box , note pad icon will be appear , click on it to open it.

2nd step

after opening note pad write above code into notepad.

what is html

3rd step

Save HTML document. Select file tab from notepad menu. Click on Save As or you can use short cut key (ctr+s) to save document. A dialog box will appear , enter your page name and save it with .html extension .