Am trying to learn HTML, but my first page hit a brickwall when it displays the code instead of the webpage. Anyone know why? Page was created using textedit on a mac.
Am trying to learn HTML, but my first page hit a brickwall when it displays the code instead of the webpage. Anyone know why? Page was created using textedit on a mac.
G[/QUOTE]
Besides the closing tags in your document, I also noticed that you are using Textedit, did you make all the proper changes within the program to type in plaintext instead of rich-type, also did you select the HTML box within those settings?
@handcraftedwebSep 13.2010 — #My guess too is that you saved as HTML, in which case TextEdit will produce HTML code to render the contents of the editor (which in this case is HTML code). You can tell for sure by opening your page in a browser and select View>Page Source. If you see much more HTML than you typed in TextEdit, then that's what's happening.
You can probably use TextEdit to save as plain text, but you might as well get a decent editor. TextWrangler is a pretty good free editor for Macs.