First HTML(HELLO WORLD) Language Program using notepad 2021

First HTML (HELLO WORLD) Language Program using notepad 2021

 The first program in HTML: 

Learn HTML language online



HTML Stands for HyperText Markup Language and it is mostly used in the creation of websites.

Before learning the large programs you need to learn how to write a basic program in the HTML.

-> here we are writing a basic program (Hello world) in the HTML language
 
To write an HTML program you need a notepad which is installed inbuilt when u buy a computer.

Source code: 

<html>
 <head>
 </head>
 <body>
   <h1>Hello World<h1>
 </body>
</html>

Expected Output: Hello World

                                  


Explanation:

Steps to Write the code:

Step 1: Open Notepad and type the above code of the hello world program.


  • Note: You can go through the above image for clarification.
Step 2: Save the file on your computer by clicking the File and click Save As and name the file as per your interest and make sure to name the file as .htm for example abcd.htm

Step 3: Open the saved file and you can get the required output.


Post a Comment

Previous Post Next Post