I want to display strings like & in an HTML page, but it is rendered as &.
Is there any possibility to tell the browser to display text without processing, something like CDATA in XML.
PS. On the server side I am using Java.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, those characters are designed specially to be displayed this way. You can instead send
&which will display as you wish. Depending on what server side language you use there is likely to be anHTMLEncodefunction which will do this for you.PS –
PRE&CODEdo not work for HTML symbols.