Is it javascript code or css you're trying to put into the body tag?
If it's javascript, you should put it into the header section, and there's a tab on each template where you can do that. If you want it to run on every page, do it in the master template, otherwise do it just on the template(s) for the pages you want it to run on.