I am new to creating a website and I was testing out a very basic html document to make sure I am able to see what I write in HTML translate to the web. I am on a mac using TextEdit and I use both Safari and Firefox. Here is what my very basic html document looked like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>First Website</title>
</head>
<body>
This is a test
</body>
</html>
I save it as index.html. I go into my web browser and I select file, open file and select the index.html document. It opens the document just fine, but it still has the html codes showing. The title does show up on the top bar.
Is there anything I need to change on my computer or the program I am using so my html document will translate to the web without the codes showing on the web?
Thanks,
Julia