English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to write html codes on a web page to allow others to copy and paste it but everytime I do, it doesn't show the code, just the result. I know I am missing something but don't know what it is. please help

2007-10-22 08:17:22 · 4 answers · asked by lilangelwolf 1 in Computers & Internet Programming & Design

I am trying what you said but can't seem to get it. Here is the code I am trying to put on a web page so people can copy and paste it but can't seem to get it to work ~~~~~~~~Digital Photos Only. Get yours at bighugelabs.com/flickr~~~~~~~~~

2007-10-22 08:43:31 · update #1

4 answers

You need to use a text area the code is write the code here remove the stars. Hope I helped =D

2007-10-22 08:20:34 · answer #1 · answered by Anonymous · 0 0

Take out the little [html] before and after the code... what you are typing is encoded to show the result, not the code.

2007-10-22 08:20:35 · answer #2 · answered by Sugar Pie 7 · 0 0

Put your code in a TEXTAREA, surrounded by FORM tags. (Some browsers refuse to display a textarea except in the context of a form.)

You can display your code by using the escape codes - < for a left bracket, for instance - but it's a lot easier for your users to grab stuff in a TEXTAREA because they can use CTRL-A to highlight the contents and CTRL-C to copy it.

2007-10-22 08:23:19 · answer #3 · answered by Anonymous · 0 0

when you save it save it like ****.html

2007-10-22 08:22:49 · answer #4 · answered by fofo 1 · 0 0

fedest.com, questions and answers