Home / HTML / HTML and tutorial – Your first HTML file
Let us get started and create an HTML file. Trust me, its very simple and by the end of this lesson you would have created and tested your first script.
If working under Windows, open Notepad (Start-Programs-Accessories-Notepad).
Now type the following:
<HTML> <HEAD> <TITLE>My first HTML page</TITLE> </HEAD> <BODY> This is my first HTML page. </BODY> </HTML>
You can also select the above text, copy it by right clicking and paste it in Notepad, but I recommend you type this out. It will help you to understand HTML better.
Now create a new directory on your hard disk. Let’s call this “htmlfiles“. In Notepad, click “File-Save As” and go to the new directory you have just made. In the drop-down menu, type “first.html”. Select “All files” from the “Save as type” drop down menu and click on Save. A screen snap-shot is presented below.
Now open Windows Explorer, come to the new directory “htmlfiles“. You shall see your first script. Double click on this. If you have a browser installed on your system, it will open to display this file. If this does not work, open a browser window and click on File-Open (Open Page in Netscape) and select “first.html”. Below is a snap shot of Internet Explorer displaying your first script.
How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]
Contrary to popular belief, Thomas Edison, one of the greatest inventors of all time, didn't invent the light bulb. He simply improved upon it to create a practical, long-lasting incandescent source of light! The light bulb was first demonstrated in 1878 by British physicist Joseph Swan. The inventor used carbonised paper as a filament and patented the bulb in 1880. The next year, London's Savoy Theatre became the world's first public building to be lit by the electric wonder. Edison's genius was to understand the nature of the bulb and painstaking test hundreds of materials as filaments. After many trials, his group finally arrived at a carbon bamboo filament which would not only make the bulb last longer (1,200 hours) but could also be produced cheaply. They demonstrated their light bulb on 31st December 1979. Edison too filed and received a patent for his electric bulb. Including Thomas Edison and Joseph Swan, there were a total of eight inventors working on the electric bulb at that time. [more...]
We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy