<html> <!--this is html opening tag-->
<body> <!--this is body opening tag-->
<! This is comment and it will not be displayed -- >
<h1>My First Heading</h1>
<p> My first paragraph. </p>
</body> <!--this is body closing tag-->
</html> <!--this is html closing tag-->
Save the file first.html or first.htm file extension. Now open the file named by double click or right click on the file then open with firefox or internet explorer and output will be look like the following:
My First Heading
My first paragraph..HTM or .HTML File Extension
When we save an HTML file, we can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন