Friends here I am writing an example of a small HTML document. Learning HTML is very easy. Keep visiting Wide Info Blog. Try this on your own system. Previously we have discussed about the basic introduction & history of HTML.
<!DOCTYPE html>
<html>
<head>
<title> Page Title </title>
</head>
<body>
<h1> My First Heading </h1>
<p> My first paragraph. </p>
</body>
<html> </html> : Text between these tags is HTML.
<head> </head> : Gives information about the document.
<title> </title> : Used for the title of the document.
<body> </body> : Used for visible page contents.
<h1> </h1> : Used for Heading.
<p> </p> : Used for Paragraph.
Now, Open Notepad in your system. Copy & paste the above HTML code in notepad. Now save this page with extension .htm & your file is saved as shown below.
Next step is to open your saved file with any of the browsers installed on your system. You will see your first HTML page as shown below.
Now, Open Notepad in your system. Copy & paste the above HTML code in notepad. Now save this page with extension .htm & your file is saved as shown below.
No comments:
Post a Comment