Please see this page which discusses all the ways to embed custom code into pages.
Developer / HTML /JS / CSS