- How do you post HTML to a page?
- Posted by Kkiely on February 21st, 2004
how do you show HTML code on a page without the page executing the code. I want
to write the cut and paste code to my banners onto my page.
<a href="http://www.homepokergames.com" target="new"><img
src="http://www.homepokergames.com/bannerbig1.gif"></a>
- Posted by GreyWyvern on February 21st, 2004
On 21 Feb 2004 00:55:13 GMT, Kkiely <kkiely@aol.comnojunk> wrote:
Just substitute < for all the < and > for all the > And wrap it all
in <pre> tags.
<pre>
<html>
<head>
<title>The page Title</title>
...
</pre>
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com - ORCA - Camouflaged PHP Web Scripts.
- Posted by DevLance.com on February 21st, 2004
You just need to change the <'s and >'s into with < and &rt; replacing
with those will make the script appear in your HTML page as you desire.
www.devlance.com
"Kkiely" <kkiely@aol.comnojunk> wrote in message
news:20040220195513.20326.00000102@mb-m04.aol.com...
- Posted by Gazza on February 21st, 2004
In article <20040220195513.20326.00000102@mb-m04.aol.com>,
kkiely@aol.comnojunk says...
Use < and > (less than (<) and greater than (>))
e.g.
-----------
<p>To add my banner to your site use: <br>
<code>
<a href="http://www.homepokergames.com" target="new">
<img src="http://www.homepokergames.com/bannerbig1.gif">
</a></code><br>
and you too could be popular like me!</p>
-----------
IIRC, most browsers will only need the <, leaving > in won't hurt,
but it's safer to use both character encodings.
--
Gazza
http://www.rossmore.org/
http://www.garyjones.co.uk/
"Some people don't listen, they simply wait to speak"
- Posted by Gazza on February 21st, 2004
In article <opr3o33kluv0in9v@news.ican.net>,
SP_bhuisman@greywyvern.com_AM says...
With <pre> deprecated under HTML4.01
<http://www.w3.org/TR/html401/struct/text.html#h-9.3.4>
shouldn't <code> be used?
http://www.w3.org/TR/html401/struct/text.html#edef-CODE
--
Gazza
http://www.rossmore.org/
http://www.garyjones.co.uk/
"Some people don't listen, they simply wait to speak"
- Posted by GreyWyvern on February 21st, 2004
On Sat, 21 Feb 2004 01:35:08 -0000, Gazza <gary@garyjones.co.uk.invalid>
wrote:
Heh, yesh. Quite right. I always seem to forget about that one
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com - ORCA - Camouflaged PHP Web Scripts.
- Posted by Alan D-W on February 21st, 2004
"DevLance.com" <admin@devlance.com> wrote in message
news:ihyZb.1105$DV3.48221@news.uswest.net...
&rt;??
(They don't refer to left and right! It should be >
Alan
- Posted by Charles Sweeney on February 21st, 2004
"GreyWyvern" <SP_bhuisman@greywyvern.com_AM> wrote in message
news
pr3o7e8w4v0in9v@news.ican.net...
Yep, until it too falls out of fashion and gets "deprecated".
--
Charles Sweeney
www.CharlesSweeney.com
- Posted by Safalra on February 21st, 2004
"Alan D-W" <alan@somewhere.info> wrote in message news:<40376f37$0$10337$cc9e4d1f@news-text.dial.pipex.com>...
Oh course you don't need to escape > at all, it's just for symmetry.
--- Safalra (Stephen Morley) ---
http://www.safalra.com/hypertext
- Posted by GreyWyvern on February 21st, 2004
On Sat, 21 Feb 2004 19:53:04 -0000, Charles Sweeney
<me@charlessweeney.com> wrote:
Even in the Real World of ethics, politics and science, standards change.
Internet protocol is no different. Get over it Charles.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com - ORCA - Camouflaged PHP Web Scripts.


