Question: I need to transform this :

```
<input type="button" value="O">

```

In a text. Anyone can help me?

Answer: 
If I have understood the question correctly following snippet you should do the trick:

```
$('input[type=button][value=0]').replaceWith(function() {
    return document.createTextNode(this.outerHTML);
});

```

The above snippet basically replaces the element with it's string representation. 

<http://jsfiddle.net/aet4u3e1/>
You can use in pure HTML like this.

```
<pre>
    &ltinput type="button" value="O"&gt
</pre>

```

Using java script you can find and replace < >.

```
Ex: HTML.replace(/&/g, '&amp;').replace(/</g, '&lt;');

```