Identificarse | Registrarse | FAQ
Anonymous

code/tags showing

+ Publicar una respuesta

9 mensajes Página 1 de 1


code/tags showing

por beelzebomb » Dom Sep 26, 2010 5:59 pm

Hi
I've got as far as lesson 4 in html tutorial but the website shows up with all the coding - just as it looked in textedit - why?

I'm using a macbook, not a pc, so saving the text file i am saving it as an .html file, calling it "something.htm"
Avatar de Usuario

beelzebomb

  • Mensajes: 5
  • Registrado: Dom Sep 26, 2010 5:50 pm

Re: code/tags showing

por HTML.net » Dom Sep 26, 2010 7:58 pm

Also, make sure you choose "All Files" in the "Save as type" box in Notepad when you save the document. Very important.
Avatar de Usuario

HTML.net
Site Admin

  • Mensajes: 1194
  • Registrado: Sab Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: code/tags showing

por beelzebomb » Dom Sep 26, 2010 8:14 pm

HTML.net escribió:Also, make sure you choose "All Files" in the "Save as type" box in Notepad when you save the document. Very important.


Hi,
I don't seem to have that choice with a mac - there's no "all files" choice as far as I can see, i only have a choice of rich text files etc etc & html..
Avatar de Usuario

beelzebomb

  • Mensajes: 5
  • Registrado: Dom Sep 26, 2010 5:50 pm

Re: code/tags showing

por beelzebomb » Dom Sep 26, 2010 9:15 pm

I'm afraid I really don't have an "all files" option in textedit, i see a "web archive" option but no "all files" !
Avatar de Usuario

beelzebomb

  • Mensajes: 5
  • Registrado: Dom Sep 26, 2010 5:50 pm

Re: code/tags showing

por beelzebomb » Dom Sep 26, 2010 10:22 pm

ok, half sorted - changed default to plain text, then saved as unicode (once in plain text there's no html "save as" option) - this opens a proper website - but now with the title missing!

Here's the text I wrote:

<html>

<head>
<title>my first ever website</title>
</head>

<body>
<p>well well well - a long time coming!</p>
</body>

</html>

In the webpage I now only see - "well well well - a long time coming!"

Bit of a stuttering start for me this...!
Avatar de Usuario

beelzebomb

  • Mensajes: 5
  • Registrado: Dom Sep 26, 2010 5:50 pm

Re: code/tags showing

por HTML.net » Lun Sep 27, 2010 7:29 am

Sorry, I didn't notice you where on a Mac. Glad you made it work - stubbornness is a good when making websites :)

For others this link may be a good help: http://www.askdavetaylor.com/how_do_i_s ... tedit.html

- Andreas, HTML.net
Avatar de Usuario

HTML.net
Site Admin

  • Mensajes: 1194
  • Registrado: Sab Sep 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: code/tags showing

por beelzebomb » Lun Sep 27, 2010 8:58 pm

Thanks, a perfect helpful link!
Avatar de Usuario

beelzebomb

  • Mensajes: 5
  • Registrado: Dom Sep 26, 2010 5:50 pm

Re: code/tags showing

por jasikapetro » Vie Oct 08, 2010 11:25 am

Its simple enough, you just need to place the word code surrounde by square brackets [ ] at the start of your code and at the end type /code surrounded by square brackets []
['code]
your code here
[/code]
Avatar de Usuario

jasikapetro

  • Mensajes: 4
  • Registrado: Vie Oct 08, 2010 10:48 am

Re: code/tags showing

por vanopeli@att.net » Sab Oct 16, 2010 8:13 pm

HTML.net escribió:Also, make sure you choose "All Files" in the "Save as type" box in Notepad when you save the document. Very important.




Mac doesn't have Notepad. I'm having the same problem with my Mac, the TextEdit is the editor, and does not show an all files option.
Avatar de Usuario

vanopeli@att.net

  • Mensajes: 2
  • Registrado: Sab Oct 16, 2010 7:14 pm


+ Publicar una respuesta

Página 1 de 1