Many people use a hidden content editor webpart for this purpose but there is a second option. On each page layout there is a Content placeholder called “AdditionalPageHead”.[sourcecode language=”plain”] <asp:ContentPlaceHolder id="AdditionalPageHead" runat="server">
Anything placed inside this placehodler will be added to the head of the rendered page.
You can also create your own custom placeholders in the masterpage and page layout to allow you to add items to any part of the masterpage. For instance I have created a custom placeholder to insert webparts in the footer area of the masterpage.