Dragosvr92 Posted August 8, 2010 Share Posted August 8, 2010 Dos anyone know how may i make html look like text on a html php or whatever page ? Quote Link to comment Share on other sites More sharing options...
lostprophetpunk Posted August 8, 2010 Share Posted August 8, 2010 Simple solution. the use of the <pre></pre> tags. <pre>any html code here</pre> Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted August 13, 2010 Author Share Posted August 13, 2010 hmmmmmm i thought that the pre tags are only for showing the text in html as it is wroted with the spaces i want to display html on a html page as a simple text for example this will result a link on a php page <a href=" ">Link</a> is there a way to show it as text ? and not its output link Quote Link to comment Share on other sites More sharing options...
lostprophetpunk Posted August 13, 2010 Share Posted August 13, 2010 If you are looking for it on a php page, then use the htmlentities() tag to convert it to text... echo htmlentities("<a href='#'>click</a>"); Quote Link to comment Share on other sites More sharing options...
Dragosvr92 Posted August 15, 2010 Author Share Posted August 15, 2010 If you are looking for it on a php page, then use the htmlentities() tag to convert it to text... echo htmlentities("<a href='#'>click</a>"); Thanks Lost Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.