View Full Version : Vista HTML problems..
bc008
Jan 9, 2009, 04:21 PM
Okay, I know MacRumors might not be the best place to ask this, but i thought id ask.
my Info Tech (computers) exam is to make a simple website using our beginner HTML skills in notepad.. easy enough right?
the problem is, I cant seem to figure out how to open the site in IE.. it just show all of the HTML i typed, not the actual site.. any ideas?
also, noob question: what program is best for typing simple code in leopard? i would love to make it on my mac but windows is my schools OS. also, if i were to make it in leopard how would i preview it in a browser?
dalvin200
Jan 9, 2009, 04:24 PM
1) are you sure you are saving the file as .html and not .txt.. as in, when you save the file in notepad, make sure you select the "all files" type not leave it as "txt document"
2) you can use textedit (kind of like notepad on windows) in leopard to freehand your html.. again make sure its saved as .html (or .htm if you prefer).. then you can open the file in safari (or which ever browser you using in leopard) to check how the web page looks
hope this helps
bc008
Jan 9, 2009, 04:28 PM
1) are you sure you are saving the file as .html and not .txt.. as in, when you save the file in notepad, make sure you select the "all files" type not leave it as "txt document"
2) you can use textedit (kind of like notepad on windows) in leopard to freehand your html.. again make sure its saved as .html (or .htm if you prefer).. then you can open the file in safari (or which ever browser you using in leopard) to check how the web page looks
hope this helps
see, I thought that was my problem, but .html wasnt in the drop down menu?
http://i43.tinypic.com/xd78so.jpg
now it might be hidden or something.. im no expert in vista..
dalvin200
Jan 9, 2009, 04:30 PM
see, I thought that was my problem, but .html wasnt in the drop down menu?
[img]
now it might be hidden or something.. im no expert in vista..
jut select the "all files" bit and type whatever filename you want followed by ".html"
eg: after selecting the "all files" enter the filename: "mypage.html" and save that.. it will then save the document as an html document which you can then preview in any web browser :)
ps: this is not a vista issue.. its just a notepad issue :)
bc008
Jan 9, 2009, 04:38 PM
jut select the "all files" bit and type whatever filename you want followed by ".html"
eg: after selecting the "all files" enter the filename: "mypage.html" and save that.. it will then save the document as an html document which you can then preview in any web browser :)
ps: this is not a vista issue.. its just a notepad issue :)
haha thanks a million :D im a noob at HTML and it worked fine at school (xp) so i was assuming it was a vista problem
dalvin200
Jan 9, 2009, 04:41 PM
haha thanks a million :D im a noob at HTML and it worked fine at school (xp) so i was assuming it was a vista problem
you would have had to do the same thing in xp too :) choose the "All files" and then type the "filename.html".. :D
angelwatt
Jan 9, 2009, 04:48 PM
Just some editor suggestions. On Windows I like using Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm). On Mac you have a few good free options including: TextWrangler (http://www.barebones.com/products/TextWrangler/), Smultron (http://tuppis.com/smultron/), and Taco HTML Edit (http://tacosw.com/htmledit/), which are nicer to use than TextEdit as they are for coding and have color syntax and the like. Also, in some editors (like TextWrangler) you can change how it saves the file in terms of line endings. If you weren't aware, Mac and Windows use different line ending characters. Anyways though some editors will let you set this, so you can set it for Windows then if you have to open it in Notepad on Windows it'll look right.
bc008
Jan 9, 2009, 05:14 PM
you would have had to do the same thing in xp too :) choose the "All files" and then type the "filename.html".. :D
but at school .html is in the drop down menu, like I didnt have to type it ;)
and thanks for the suggestions! I didnt know mac HTML was different from windows :( im gunna have to do this project on the pc until I have some time to figure out how to code in OS X
angelwatt
Jan 9, 2009, 05:43 PM
I didn't know mac HTML was different from windows :( im gunna have to do this project on the pc until I have some time to figure out how to code in OS X
The line endings aren't part of HTML, they apply to any text document. Doing HTML code on Mac is the same thing as on Windows, especially if you're using a text editor.
r.j.s
Jan 9, 2009, 05:47 PM
TextWrangler is the best I've found so far for doing straight html code in OS X.
mathcolo
Jan 9, 2009, 11:14 PM
TextWrangler is the best I've found so far for doing straight html code in OS X.
TextWrangler is the best free application... Serious HTML coders may likely prefer BBEdit. It's also by Bare Bones Software.
r.j.s
Jan 9, 2009, 11:36 PM
TextWrangler is the best free application... Serious HTML coders may likely prefer BBEdit. It's also by Bare Bones Software.
Yeah, I meant best free app.
dalvin200
Jan 10, 2009, 05:38 AM
but at school .html is in the drop down menu, like I didnt have to type it ;)
and thanks for the suggestions! I didnt know mac HTML was different from windows :( im gunna have to do this project on the pc until I have some time to figure out how to code in OS X
put simply:
HTML is just the language you code in.. whether you write it on a mac/pc/linux etc.. makes no difference as the code will be the same..
what your write your code in (the editor) will be different depending on what operating system you use .. ie, notepad in windows is different to textedit on a mac etc.. but the actual code you write will be the same..
there are many more editors available for operating systems like others have mentioned above... the interface will be different but the code will be the same.
eg:
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>
Look at me... I'm writing HTML.. woohoo!!
</p>
</body>
</html>
so the code above will work on any operating system in any browser..
hope this clears any of your confusion..
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.