|
How can I display html and css code on a page?
Hello ^_^
I have a website and part of it includes some basics of setting up a simple html page with a simple css style. The only problem is that I do not know what to do to display html code on the page in text format without the browser treating it as code.
At the moment I have written [html] for example and told people to replace the [ and ]'s with < and >'s but I do not like this solution. I believe there may be a way to tell the browser to treat the code as simple text but I do not know it.
PHP Code:
<html> Something like this would be fine! Without a box would be preferable though!
If anybody could help me I would be very greatful! Thank you for your patience!
^_^b
|