Making HTML Inactive -


i trying use javascript , replace function in javascript replace spaces in variable "<br />". clarify, not want break, want literally "<br />". how make "<br />" invalid html?

i'm sorry if newbie question, can't find answer anywhere.

use code:

&lt;br /&gt; 

this uses html "entities" < , > ("less than" , "greater than")


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -