What is that HTML tag for showing text content as it actually appears in the html file?
What is that HTML tag for showing text content as it actually appears in the html file? If you use it, you do not have to worry about because it does a line break exactly as it appears.
Yes, I have tried googling this.
No, I have not found the answer.
Yes, I know it is easy.
greg posted this at 20:49 — 14th June 2009.
He has: 1,581 posts
Joined: Nov 2005
You mean the
<pre></pre>
tag?webwiz posted this at 19:20 — 15th June 2009.
He has: 629 posts
Joined: May 2007
I'll up greg's ante and make that
<pre>(code) ... (/code)</pre>
Don't forget to change all less-than, greater-than, and ampersands to their HTML entity equivalents ("<", ">", and "&" respectively.)
P.S. Okay. I give up on getting my example working on this forum post... Those parens around the CODE tag are supposed to be < and > signs!
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
greg posted this at 20:22 — 15th June 2009.
He has: 1,581 posts
Joined: Nov 2005
<pre><code>You mean like this?
</code></pre>
I believe my 4 Aces beats your full house
(and if someone comes along with a straight flush I'm stacking )
webwiz posted this at 18:44 — 16th June 2009.
He has: 629 posts
Joined: May 2007
Hmm. Looks like you doubled down. (viewing source - 2 CODE elements?)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.