SIMPLE WEB
PAGE:-
HOW TO MAKE SIMPLE WEB PAGE ON HTML।। HTML( PART- 4 ) |
https://www.gunjanlyrics.com/2020/01/tujhse-naraz-nahi-zindagi-lyrics-sanam.html
Example 1: -
<html>
<head>
<title>Your Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<h2>This is a Heading</h2>
<h3>This is a Heading</h3>
<h4>This is a Heading</h4>
<h5>This is a Heading</h5>
<h6>This is a Heading</h6>
<p>This is a paragraph.</p>
</body>
</html>
First, copy the code written above, then paste it on your Text - Editor like Notepad ++, then name Index.html and save it on your computer. Then double-click index.html on your web browsers like Google Chrome or Mozilla Firefox or Internet Explorer.
Now let me explain the code written in example 1 above: -
You can see that the first <html> has been written in the code and then the last one at the end of the code </ html> has been closed because the start of any HTML page starts with <html> tag and end it Also happens </ html> tag.
We can divide the written code into two parts first <head> </ head> and another <body> </ body>
Within the headline of <head> </ head>, the title of the website is written. Besides, much other important information is written within the head, but I do not want to mislead you by telling them about them so that I Then you will tell when you will have basic knowledge of HTML.
<body> </ body> where the head tag is closed (</ head>) from there <body> starts and before the html page ends </ html> before us </ body > Has to be closed and all the things we see in any website, we all have to write inside the <body> </ body> tag.
0 Comments: