not displaying HTML files

Joined
Jan 3, 2008
Messages
107
Reaction score
0
Points
16
in Windows when i created an HTML file, saved it, i opened it and it displayed what i wanted it to. i was working with html on my Mac, saved the HTML file, and opened it in Safari. instead of displaying the Titles, tables, etc. i wrote, it displayed the ACTUAL HTML (<html></html>, that type) and not what the HTML coded for. does anyone know how i can get it to work?
 
Joined
Apr 28, 2006
Messages
2,542
Reaction score
79
Points
48
Your Mac's Specs
iMac Core Duo 20", iBook G4, iPhone 8GB :)
What app did you use to write that html? Cause if you have written html in rich text mode in textedit, it will show you the actual code (using special characters). Check the source and see (Safari > View > Source)
 

Neo


Joined
Aug 14, 2007
Messages
557
Reaction score
25
Points
28
Your Mac's Specs
white MB 2.16GHz 3GB 320GB 10.6.1
I think you have a tagging problem.
What did you use to write the code?
 
Joined
Oct 22, 2007
Messages
8,967
Reaction score
287
Points
83
Location
London
Your Mac's Specs
Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
Is the document type declared at the head of the html file

otherwise its an open ended tag that is at fault
 

Neo


Joined
Aug 14, 2007
Messages
557
Reaction score
25
Points
28
Your Mac's Specs
white MB 2.16GHz 3GB 320GB 10.6.1
Is the document type declared at the head of the html file

otherwise its an open ended tag that is at fault

Yep, that's what I was thinking.
 
Joined
Sep 7, 2011
Messages
3
Reaction score
0
Points
1
if you have written html in rich text mode in textedit, it will show you the actual code

This was the issue i had, i set to plain text in preferences and this resolved the issue
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top