What do you get on your banner?

How do i get my HTML to remain HTML and not turn into the banner that it is?

  • Below is what i want to remain as text and not turn into a banner! When i post this code on a site like myspace it turns into a banner. I want to know the code that will keep it just as it is so that others will be able to copy and paste. Can u give me a code that could do this? <a href="http://www.msplinks.com/MDFodHRwOi… .."border:1px !important; border-style:solid !important; border-color:#9CA7D3 !important; padding:2px !important; display:block !important; width:200px !important; margin:0px auto !important;"><img src="http://i110.photobucket.com/albums/…

  • Answer:

    I forget what it is, but there is a code in HTML that means "ignore this next part, it's just a programmers notes". Hopefully someone will come along who knows the exact code.

who_woul... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

A really simple and easy way to do this is to use this code: <textarea>YOUR TEXT HERE</textarea> Hope that helped! (:

Yolanda Stardust

Paste your code into this page. It will escape the < etc and make it display as code, but not render. http://www.felgall.com/htmlt47.htm What you included looks like just a fragment, but this is it encoded. <a href="http://www.msplinks.com/mdfodhrwoi… .."border:1px !important; border-style:solid !important; border-color:#9CA7D3 !important; padding:2px !important; display:block !important; width:200px !important; margin:0px auto !important;"><img src="http://i110.photobucket.com/albums/…

boblabrea

put what ever code to be read as text between <Quote> <unquote> like this <Quote> <a href="http://www.msplinks.com/mdfodhrwoi… .."border:1px !important; border-style:solid !important; border-color:#9CA7D3 !important; padding:2px !important; display:block !important; width:200px !important; margin:0px auto !important;"><img src="http://i110.photobucket.com/albums/… <unquote> good luck

S. Sulivan

This is the code for you. When someone clicks on the code it gets highlighted so they can copy it to clipboard. You can change rows and cols below to size this box. Just copy your entire code where it says below. One note - you need to complete your code by adding ></a> to the end because your code in your question is missing these. <textarea rows=4 cols=50 onclick="copy(this)"> YOUR CODE GOES HERE </textarea> <script language=javascript> function copy(text) { text.focus(); text.select(); } </script>

E.M.Bed

use the HTML equivalents for < and > < is & lt; > is & gt; Remove spaces between & and lt; also & and gt; The rest will show as text.

Jim Hutchinson

<textarea cols="60" rows="6"> Code goes here. no, I <i>won't</i> copy the messed up code. </textarea> The above will produce a text box that the user can copy and paste from. No need to escape characters. In a bulletin, you can paste that banner code and then right beneath it the same code but with the textarea tags around it to display the code for copying.

Krystine

simply put <xmp> </xmp> tags around your code. the html parser will not render this.

Wyatt

you can use <pre> </pre> around the code if you don't want the textarea

amy

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.