Useful fragments of code for the Web.