ToXXiN Posted June 6, 2013 Share Posted June 6, 2013 (edited) Hey there,i would like to show some HTML-Code inside my website, but, my problem is, it gets rendered all the time. I tried a method in which one has to put the html code inside of { pre } { code }...{ / pre } { / code } but, i only get some white space. A second method, which acutally worked, but looks pretty bad is to put the code inside of { textarea }...{ textarea } .I've also read, that there is a method to display it with the help of php, but since i am a beginner, i would not like to use php. Well, in the best case, i would like to use { pre } { code } .Oh, and i forgott, that there is the possibility to use < and > instead of the actual < and > but it takes way too long ;)Well, would be nice if sb has a solution.I had to replace < with {and > with } in my post, otherwise they would not been shown in this post ;)They used the {pre} method here.Or, is there any option to replace automatically all < inside of one container with < and all > with >? By using HTML, i mean. Edited June 6, 2013 by ToXXiN Link to comment Share on other sites More sharing options...
Ingolme Posted June 6, 2013 Share Posted June 6, 2013 On the forum HTML isn't parsed.<html> On your website, the only HTML solution is to substitute the characters with entities < >. If you don't want to do it manually you'll have to automate the process with PHP. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now