Results 1 to 9 of 9

Thread: HTML problem

  1. #1


    Member Since
    Dec 27, 2007
    Posts
    2
    Unhappy HTML problem
    i have MAC os. If i run my html page wat i created with correct syntax its get displaying along with the HTML tags in the browser. The whole code what in text editor is get displayed in browser (Mozilla). The same code i run in windows the mesaage alone is got displayed in the browser.
    pls help me to rectify this problem.. soon please

  2. #2
    MacHeadCase
    Guest
    *Moved thread to proper forum - Not a comment on the forum but a problem with web design*

  3. #3

    louishen's Avatar
    Member Since
    Oct 22, 2007
    Location
    London
    Posts
    8,968
    Specs:
    Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
    It is probably best to post up the code if anybody can solve this one

  4. #4

    verviana's Avatar
    Member Since
    Dec 29, 2007
    Posts
    11
    I'm wondering what you created your page in? If you created it from scratch in TextEdit you should be fine -- if you created it in a WYSIWYG editor and typed the code in the wrong interface, or if you created it in word, it may be "coding your code" for you and causing the HTML tags to show up.
    rorie kelly
    100% fair trade, all natural, vegetarian drama
    www.roriekelly.com
    www.myspace.com/roriekelly

  5. #5


    Member Since
    Dec 27, 2007
    Posts
    2
    Unhappy Code
    <html>
    <head>
    <title>HTML Program
    </title>
    </head>
    <body>
    This is my first HTML program
    </body>
    </html>


    Thanks for replying dude... this was my code,,, wen i saved wit .html and opened it.. the whole thing is displayed in the browser... is there any specific way to save HTML in MAC dude.. pls reply...

  6. #6

    verviana's Avatar
    Member Since
    Dec 29, 2007
    Posts
    11
    You need to be working in a plain text program. What program did you use? If you are using Text Edit (my suggestion) make sure it is set to plain text, not rich text. You can change TextEdit's preferences to always default to plain text by going to "preferences" from the "textedit" menu. Then select "Plain text" under "New Document Attributes."

    Your existing document may be rich text, so you should choose "make plain text" in the "format" menu and re-save it, if it is.
    rorie kelly
    100% fair trade, all natural, vegetarian drama
    www.roriekelly.com
    www.myspace.com/roriekelly

  7. #7


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    What Verviana said - its my bet too that it wasn't saved as ASCII / Plain text

  8. #8


    Member Since
    Jul 08, 2007
    Location
    SLC, UT
    Posts
    31
    Specs:
    Macbook Pro, 2.2Ghz, 4GB Memory, 120GB HDD, LCD Display, OS X Tiger
    what program did you use to create it? Like the others said, if it's not saving it correctly you won't actually get a true html page.

  9. #9
    MacHeadCase
    Guest
    I copied and pasted your code in TextEdit, saved it as an .html file, dropped it in a Safari window and it works.

    I think you just need to make sure the preferences for TextEdit are set to Plain Text, as verviana and others have pointed out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. html problem - TextEdit
    By hello1000 in forum OS X - Apps and Games
    Replies: 1
    Last Post: 02-24-2013, 02:31 AM
  2. Replies: 0
    Last Post: 08-22-2011, 09:18 AM
  3. iweb HTML problem
    By Kjune in forum Web Design and Hosting
    Replies: 2
    Last Post: 11-14-2009, 02:08 PM
  4. Opening Local HTML files - render HTML (not display as text)
    By Gator626 in forum OS X - Operating System
    Replies: 6
    Last Post: 11-01-2009, 08:00 PM
  5. Html Problem
    By the_macpanther in forum Web Design and Hosting
    Replies: 14
    Last Post: 09-14-2008, 07:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •