HELP! I'm trying to do an HTML project for my computer science class...?

MaryBethG

New member
I'm using "notepad" to write out all of the codes, then when i open the document in firefox or internet explorer, the codes are showing! I don't know how to open the document correctly in the first place (whether it be by right clicking and selecting open with -> firefox, etc?) I have the codes right but its showing up correctly when i open it with firefox...what do i do to fix this?
This is an example of what i'm doing, yet it looks just like this on the webpage when i open it up...

<html>MaryBeth, Section 7, Fawcett

<head>
<title>The History of the Internet</title>
</head>

<body>
<strong>The Beginning</strong>
<p>Computers have always been a useful tool for people since their creation.
</p>

</body>

</html>
what if i told you that i just saved it as lab.html and opened it up again to the same issue :(
 
Simple solution:
open it with notepad, then goto File -> Save As
File name: lab.html
Save as type: All Files
Encoding: What ever
Finally click on "Save" button.
 
Make sure you are saving it as simple text, not rich text.

Make sure that you name it with the .html extension.

You may have to turn on "Show File Extensions" in your file preferences to see the full extension.

You are probably saving it as index.html.txt because you cant see the file extension.

I am not sure if you can save in .html format in Notepad, but I know you can in Notepad ++:

http://notepad-plus.sourceforge.net/uk/site.htm
 
Back
Top