Subpage under development, new version coming soon!
Subject: HTML help needed
- 1
Greg H [del] to
All
Can anyone tell me how to put html on a website so people can see the actual code? (i.e. so they can copy and paste it).
Thanks
Thanks
You could wrap it all in a < textarea > tag (you'd want to format the textarea so your code was visible), or you could use the ascii code for the brackets:
<html>
& lt ; - for the left bracket
& gt ; - for the right bracket
Without the spaces
(edited)
<html>
& lt ; - for the left bracket
& gt ; - for the right bracket
Without the spaces
(edited)
So if I put in < textarea >my code< / textarea > (without the spaces) it would show my code?
Yep. In a nice sexy box. You'll want to give the textarea rows and columns to make it wide/high enough.
<textarea row="10" cols="10"> <code> </textarea>
<textarea row="10" cols="10"> <code> </textarea>
No problem. Always ready to dish out the HTML and CSS advice.
- 1