Jamescuk Posted March 21, 2009 Report Share Posted March 21, 2009 Welcome to our club web site This is a paragraph This is not an important paragraph Quote Link to comment Share on other sites More sharing options...
Wickham Posted March 21, 2009 Report Share Posted March 21, 2009 (edited) You shouldn't use a p tag and a h tag for the same text, one or the other. Your code is a bit brief, there are other codes you should add as a minimum:- br /> "http://www.w3.org/TR/html4/strict.dtd"> Essex Warhounds Welcome to our club web site This is a paragraph This is not an important paragraph For code as simple as the above, Safari on a Mac should be the same as IE on Windows. If you mean that it shows as the above code in Safari instead of a page without the tags, it possible that your page has been saved as page.html.txt because .txt has been added in the saving process and so it opens in Notepad instead of in Safari. Delete the .txt extension so that the filename only has .html extension and double click the filename to view the finished page in Safari or right-click "Open with" Notepad to edit in Notepad. edit: double-click and right-click is what we do in Windows, perhaps Macs are different in which case open safari and use a menu there to view, or open Notepad and use the file/open menu there for editing. Edited March 21, 2009 by Wickham Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 21, 2009 Report Share Posted March 21, 2009 I would open up the Finder's Preferences, and double check that the "Show File Extensions" checkbox is checked. As Wickham said, this often happens when a file that you think is called filename.html is actually called filename.html.txt, and the operating system isn't showing you the full file extension. Quote Link to comment Share on other sites More sharing options...
Jamescuk Posted March 23, 2009 Author Report Share Posted March 23, 2009 Welcome to our club web site This is a paragraph This is not an important paragraph Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 23, 2009 Report Share Posted March 23, 2009 Just in case it matters... what program are you doing the coding in? Quote Link to comment Share on other sites More sharing options...
Jamescuk Posted March 23, 2009 Author Report Share Posted March 23, 2009 Textedit on my macbook Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 23, 2009 Report Share Posted March 23, 2009 OK, I think I may know what is going on. TextEdit defaults to "Rich text" rather than plain text, which may be the source of your issues. -- Open up TextEdit -- Open up the Text Edit Preferences, and make sure the "Plain Text" option is selected, rather than "Rich Text", and then close the preferences -- Open up a new document, and copy/paste your code there, and resave the file under a new name as .html. Try that, and let me know if it works for you. I personally wouldn't suggest using TextEdit for coding. Not because it is bad, but because there are other free text editors out there for Mac that will give you syntax highlighting, code completion, etc. that will make your life easier. If you are looking for something free, look at TextWrangler (http://www.barebones.com/products/TextWrangler/) or Smultron (http://www.tuppis.com/smultron/). If you eventually want to move to a paid text editor, look at Coda (http://www.panic.com/coda/) or Textmate (http://macromates.com/). Quote Link to comment Share on other sites More sharing options...
dangergirl Posted April 1, 2009 Report Share Posted April 1, 2009 Hi James Maybe I am too late as I am new to this forum. But I recently found a helpful guide written in easy to understand if you already have website pages you want to edit - its a basic intro to tags and attributes of html: http://www.documentopia.com/htmlhelp Good luck. There's a lot to learn but its fun once you get going. Cheers, :cool:Dangergirl!:cool: Quote Link to comment Share on other sites More sharing options...
dangergirl Posted April 1, 2009 Report Share Posted April 1, 2009 Oh they also have a great page on image resizing, which is a hard thing to understand when you first get into web design: http://www.documentopia.com/webimages Again hope it helps and good luck! DG :cool: Quote Link to comment Share on other sites More sharing options...
Guest JNuernberg Posted May 6, 2009 Report Share Posted May 6, 2009 Good day to y'all. My name is also James and I had the same problem as Jamescuk. I'm brand-new to coding with the exception of some machine level coding several decades ago. I also run TextEdit on my Mac. I followed Benjamen's advise and the issue is resolved. The Text Editor "save as" does not give me the option for .html just I just need to add it to the file name. I'll be looking at the other text editors suggested. Thanks, James Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.