Let your computer type it for you
If you have words, phrases or code that you find yourself typing over and over, you should take a look at Textpander. I downloaded it this morning and I think that it’s going to be very useful. You can feed it long amounts of text (great for chunks of HTML code) and assign abbreviations to them. For example, I assigned the basic code of a HTML page to “<html” and the opening and closing of a P tag to “<p”. Now I can write a simple HTML page from scratch in seconds using any application on my mac (not just the cocoa ones).