New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

HTML problem


Post Reply New Thread Subscribe

 
Thread Tools
karthikguna21

 
Member Since: Dec 27, 2007
Posts: 2
karthikguna21 is on a distinguished road

karthikguna21 is offline
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
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

*Moved thread to proper forum - Not a comment on the forum but a problem with web design*
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,945
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
It is probably best to post up the code if anybody can solve this one
QUOTE Thanks
verviana

 
verviana's Avatar
 
Member Since: Dec 29, 2007
Posts: 11
verviana is on a distinguished road

verviana is offline
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
QUOTE Thanks
karthikguna21

 
Member Since: Dec 27, 2007
Posts: 2
karthikguna21 is on a distinguished road

karthikguna21 is offline
<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...
QUOTE Thanks
verviana

 
verviana's Avatar
 
Member Since: Dec 29, 2007
Posts: 11
verviana is on a distinguished road

verviana is offline
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
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
What Verviana said - its my bet too that it wasn't saved as ASCII / Plain text
QUOTE Thanks
supergper

 
Member Since: Jul 08, 2007
Location: SLC, UT
Posts: 31
supergper is on a distinguished road
Mac Specs: Macbook Pro, 2.2Ghz, 4GB Memory, 120GB HDD, LCD Display, OS X Tiger

supergper is offline
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.
QUOTE Thanks
MacHeadCase
Guest
 
Posts: n/a

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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Good CSS Book/Resource | 2 scripts »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem With Keyboard...... mmcltd OS X - Operating System 4 02-02-2010 06:47 PM
Microsoft Messenger Problem millenium_spike OS X - Apps and Games 4 09-16-2008 01:11 AM
Safari not displaying HTML cad2blender OS X - Apps and Games 0 09-14-2007 09:29 PM
#include for HTML? mac57 Web Design and Hosting 9 01-14-2007 01:58 PM
closed captioning problem on eyetv pumpkinwhite OS X - Apps and Games 1 09-06-2006 08:38 PM

All times are GMT -4. The time now is 06:35 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?