<html>
<head>
<title>simple</title>
</head>
<body>
<p> Hello World! </p>
</body>
</html>

 

HOW TO EXECUTE:

1. Write above code in Notepad or in Any Editor.
 
2. Save the "file as" name.html (Check the Extension)
 
3. Double Click on name.html

 

 EXPLANATION:

1. HTML - HyperText Markup Language.
 
2. Each tag must be open and close ex: <html>..</html> or <body>..</body> etc
 
3. <html> tag tells the browser about starting and ending of the HTML file.
 
4. <title> tag is used to display page title in the web browser window.
 
5. <head> tag is used to place HTML header information, not visible.
 
6. <body> tag used to display all content in browser.
 
7. <p> Paragraph tag is used to display text or paragraph.