Sunday, July 28, 2013

[PART-1] HTML : Introduction

In first part I will tell you a little bit about HTML after that in other parts I will tell more about HTML.

Requirements to learn HTML :-
  • You can use notepad or better to use notepad++ download it from here.
  • Then install it or if you want to use notepad press Win+R a window will appear in that window type notepad and hit enter.
  • Now you are set to write your HTML coding.
First HTML program :-
  • Open notepad or notepad++.
  • In that write or copy the code as shown below.
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<h1>My First HTML Web Page</h1>
<p>This is my first web page created using the HTML</p>
</body>
</html>




  • Now press ctrl+s and save as anyname.html or anyname.htm better to save as anyname.html.
  • Then open the file you save using the browser.
  • Now you will get output as shown in below :-

  • In this coding <title></title>show the title of your webpage and it must be placed between the <head></head> and after that other coding will be written in <body></body>, <h1></h1> used to give the heading on the page and the <p></p> is used to write the paragraph.
  • Note that every open tag has a closing tag but there are some tags which don't have closing we will discuss about that tag in second part.
For more help see below video :-



I hope you will like the article if you have any question or suggestion post in the comment box.

0 comments:

Post a Comment