Monday, September 13, 2021

HTML (Hyper Text markup Language)

HTML stands for hyper text markup language – it is used to display web pages on the browser. it is used to create web page designing. it is written in Notepad application and its ext ion is  .html or .htm

    The structure of HTML is very essay 

<html>

<title>...........</title>

<head>..........</head>

<body>.......Message</body>

</html>

.i.e here  <> this is open tag and </> close tag.

How to write HTML in Notepad and how it execute it in browser.

step 1 open Note pad

step 2 write this program in notepad

                <html>

                <head> 

<title> This is my first program in HTML</title>

<body>

        Hello Friends how are you this is my fist webpage 

</body>

</html>

step 3    after this now save the notpad file in your computer any place as you wish with ext ion .html or .htm

        for eg.        abc.html

step 4 now open your file i.e abc.html  

this is the ouput of your fist program 


program no 2

 use of Heading tag

there are six type of heading <h1>,<h2>,<h3>,<h4>,<h5><h6>

  <html>

   <head> Jitus Sir</head>

<title> use of Heading Tag</title>

<body>

       <h1>hello Siddhi & Sidhant how are You ?</h1>

        <h2>hello Siddhi & Sidhant how are You ?</h2>

       <h3>hello Siddhi & Sidhant how are You ?</h3>

       <h4>hello Siddhi & Sidhant how are You ?</h4>

       <h5>hello Siddhi & Sidhant how are You ?</h5>

       <h6>hello Siddhi & Sidhant how are You ?</h6>

</body>

</html>

so output of this program 

here we can see that <H1> 's font size is higger than <h2>,<h3>,<h4>,<5>,<h6>

respectively.







2 comments: