Whenever you try to write code including tags like <head> in webpages, the browser steps in and refuses to process angle brackets. There's actually a simple solution, but being moronic I keep forgetting this: just type "&" next to "lt;" or "gt;" (without quotes), for left and right angle brackets respectively. There.
The opposite? To write the actual code to get <head>, type "&" next to "amp;" and followed by "lt;" or "gt;" (without quotes again) to get the left and right angle brackets, in that order. Hence: &+amp;+lt;+head+&+amp;+gt;, sans the +'s. Voila.