Computer Hope

Software => Computer programming => Topic started by: zanter8 on January 17, 2008, 09:33:22 AM

Title: Starting on HTML
Post by: zanter8 on January 17, 2008, 09:33:22 AM
I have recently started my Javascript class and we are going over the HTML and XHTML.

Now, my book says to do some things and I did the assignment in notepad but yet when I go to open it with IE, it looks just like the notepad version when I know it shouldnt.

I even tried saving it as an HTML document.
What AM I doing wrong??

heres one of the assignments that is "finished"

<html>
<html xmins="http://www.w3.org/1999/xhtml">
<head>
<title>Azerbaijan</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<center><font face="arial" color="navy">
<h1>Azerbaijan</h1>
<p><strong>Offical name</strong>: Republic of Azerbaijan

<strong>Ethnic groups</strong>: Azeri 90%, Dagestani 3%, Russian 3%, Armenian 2%

<strong>Principal languages</strong>: Azeri (offical), Russian, Armenian
</p>
</font></center>
</body>
</html>
Title: Re: Starting on HTML
Post by: gamerx365 on January 17, 2008, 09:35:38 AM
when you saved it in notepad, did you remember to put .html at the end of the file name?
Title: Re: Starting on HTML
Post by: electricmidget on January 28, 2008, 08:44:47 PM
when you save it remember to put a .html after the name and save it under all files...

i copied it and saved it as an html file and it worked  :P