affiliate marketing

Wednesday, December 16, 2009

How to create an HTML file

How to create an HTML file

  • Open a text editor like notepad, wordpad, etc.,
  • Type or Copy, the code below into the text editor.
  • Choose File -> Save.
  • Type the name of the file with the extension of .html or .htm in the File name box(My_first_page.html, for example. Here My_first_page is the file name)
  • After saving complete, open the saved file with any one of your browser(Mozilla firefox, Opera, Internet Explorer, etc.,).
  • Note the title of the Browser, It will be "My first page"

<html>

 <head>
  <title>My first Page</title>
 </head>

 <body bgcolor="green">
  Wow! I created an HTML document
 </body>

</html>