DarkElf Posted February 23, 2006 Share Posted February 23, 2006 This is a bit of a wierd question, and I'll not bore you with a detailed explanation of why I'm asking it.Basically I need to know if there is a way of escaping the html escape sequences if that makes sense. e.g. By xhtml standards you shouldn't use the '<' symbol as part of the printed text of a document as it is an important reserved character used as part of html tags, instead you use the sequence < which the browser interprets and prints as '<'.Is there a way of escaping this so that you can make the browser print < instead of '<'? Link to comment Share on other sites More sharing options...
Pollux Posted February 23, 2006 Share Posted February 23, 2006 Just escape those characters within it that need escaping, e.g.'&' escapes to '&'and 'l', 't' and ';' don't need escaping so:< becomes < Link to comment Share on other sites More sharing options...
DarkElf Posted February 23, 2006 Author Share Posted February 23, 2006 cunning, why didn't I think of that cheers 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