View Full Version : I need a text box that till show html !?!
Bruxy
04-03-2007, 05:17 PM
HELP !!
I need a text box (html) that i can put a html in, and it will show what the html will look like ...
e.g
<style type="text/css">
<!--
.style1 {
color: #0099FF;
font-size: x-large;
font-family: Tahoma;
font-weight: bold;
}
.style2 {color: #000000}
-->
</style>
<div align="center"><span class="style1">Bruxy <span class="style2">!! </span></span></div>
That is the html to this ... Bruxy !!
.but i want a box that will not show the proper html and what the html meens...
Tell me if im making no sence
Thanks !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..-Evan-..
04-03-2007, 05:41 PM
do you mean like
this:
<html> <head> </head> </html>
..-Evan-..
04-03-2007, 05:45 PM
sorry for double posting but editing wass messing up but.
go here http://www.funky-chickens.com/tarea.shtml and go to the bottom.
YouFail
04-03-2007, 05:46 PM
<textarea><?php $yourcode = htmlcode here; htmlentities($yourcode); echo "$yourcode"; ?></textarea>
Im not 100% sure...
Mr.OSH
04-03-2007, 05:51 PM
Erm, if you mean putting HTML code as an output in text then just
<body>
<HTML> <br />
<br />
<BODY>
</body>
</html>
I think.. if thats what you meant... :s
PinkFM
04-03-2007, 05:57 PM
Use an iframe for it?
<textarea>
<style type="text/css"%gt;
<!--
.style1 {
color: #0099FF;
font-size: x-large;
font-family: Tahoma;
font-weight: bold;
}
.style2 {color: #000000}
--%gt;
</style%gt;
<div align="center"%gt;<span class="style1"%gt;Bruxy <span class="style2"%gt;!! </span%gt;</span%gt;</div%gt;
</textarea>
Is this forum getting thicker (Except Adam, Richard and opensourcehost and Thomas)
He wants to DISPLAY HTML ON A HTML PAGE
So its hdffhdf.html
And on that he wants to display
<html> Hello </html>
But actually display it instead of it doing it..
Richards might work, and thomas' will.
Invent
04-03-2007, 06:05 PM
You would just do the &whatever codes instead of actually using < and > ?
So just:
<html>
<head>
</head>
<body>
<html><br />
<head><br />
<title>lol</title><br />
</head><br />
<body><br />
<h1>God this forum is getting thicker</h1><br />
</body><br />
</html>
</body>
</html>
EDIT: Sorry never saw Richard's post. I'm 100% his method will work ;]
Mr.OSH
04-03-2007, 06:07 PM
You would just do the &whatever codes instead of actually using < and > ?
So just:
<html>
<head>
</head>
<body>
<html><br />
<head><br />
<title>lol</title><br />
</head><br />
<body><br />
<h1>God this forum is getting thicker</h1><br />
</body><br />
</html>
</body>
</html>
EDIT: Sorry never saw Richard's post. I'm 100% his method will work ;]
Yep that will work... more or less what I said :P
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.