Im trying to display the & character as its written. But it keeps converting to special symbol in html.
Example : shoutcast song title
Chas & Dave
will displayed as Chas.
Anything after the & wont display.
Im trying to display the & character as its written. But it keeps converting to special symbol in html.
Example : shoutcast song title
Chas & Dave
will displayed as Chas.
Anything after the & wont display.
You should write & as specified here: http://www.w3schools.com/html/html_entities.asp
& has a special meaning in HTML, it means the start of an 'entity'. To output a & itself, use the entity &. There are 5 entities common to HTML and XML, &, < (<), > (>), " (") and ' ('), although the last two are often only necessary in attribute values.
HTML has many others, a common one is , which is short for 'non-breaking space', often used to force a table cell to display.