Thursday, November 3, 2011

Small Things Learned Today

While writing the previous post, I had to find out how to show the special HTML characters, like  

Because if I just type   I will only see the space. The browser will automatically convert the   to space, the & to an ampersand and so on. But I wanted to display exactly what I had in my XML.

So, to display   just as it is, I have to type   in my post. & gets converted to ampersand and the nbsp; part is just displayed as it is.

What did I type to display   in the line above? Well,   of course. I'd better stop here before I confuse myself and everyone else.

by . Also posted on my website

No comments: