OK - so this is a total newbie question I realize, but I'm not used to publishing stuff from a mac so here goes... I just made and tested an HTML page in the editor for w3schools - it looks exactly like it's supposed to (for now) and I'd like to upload it to a site. Using filezilla on a mac, I uploaded it to the host, but when I hit it in the URL, it shows code instead of parsing the HTML Am I missing something?
What file extension did you save? If it is PHP, check if your server has it installed. If it is plain HTML, verify if you have specified extension correctly before uploading. And do please check it from different machines whether you are facing the same problem. All the best, I think I've covered all possibilities.
thanks for the reply. it's just straight html. perhaps I should rename it to PHP since that's enabled anyway... the site is: http://buddhaboard.com/blog/blogreviews.htm how do I confirm that the extension is set properly? - I tried both .htm and .html other html files work in different folders.
neeevermind... it works now. Apparently textedit on a mac adds weird crap. I installed text wrangler pasted the same HTML in and reuploaded and it was fine. Man, thought I was going crazy for a minute there.
Make sure that the file you're uploading has the correct .html extension. When I first started creating websites I made silly mistakes like that.
haha thanks, yeah I tried both .htm and .html as a first thing to check. read my post above and it was the text editor! never would've guessed that.
You may want to include the following in and before your <head> .... </head> statements. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="What the search engines will give as description of your page."> <meta name="keywords" content="HTML, tags, commands"> <title>Buddha Board Blog Review Requests</title> </head> HTML: The <!DOCTYPE> line is used to define the type of HTML document or page. A good article about that you can find here: http://webprocafe.com/magazine/2009/05/the-essential-doctype Line: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Tells the browser what character set you are using and that you are writing in HTML. Line: <meta name="description" content="What the search engines will give as description of your page."> Suggests to search engines what to put into your description area.