Metadata: what should I put in the Custom Head Html?

Cecile_Maindron
Level 10

Metadata: what should I put in the Custom Head Html?

Hi,

I'm trying to figure out what should I put in the Custome Head Html and which consequences/benefits this will bring me?


Cécile @ Talend
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: Metadata: what should I put in the Custom Head Html?

The landing page editors places any code added in the Custome Head HTML within the head section.
 
Elements inside < h e a d > can include scripts, instruct the browser where to find style sheets, provide meta information such as viewport meta tag for mobile devices among other uses.
 
One frequent use is JavaScripts to set defaults for form fields or change page elements.

From the practical standpoint it is like the HTML box in the landing opage editor, just placing the code before the main section.
 
Eric_Salamon1
Level 6

Re: Metadata: what should I put in the Custom Head Html?

Does this mean if we need to put the link to a specific CSS we can put it there?

SanfordWhiteman
Level 10 - Community Moderator

Re: Metadata: what should I put in the Custom Head Html?

You should open new threads instead, as it helps later users of the Community. (Threads can only be tagged Correct by the OP.)

The answer is: it depends. Custom Head HTML is not a frequently visited/visible area, so it's easy to lose track of special stuff you put in there. I would concentrate on adding to templates for consistency, to HTML blocks for visibility/manageability, and Custom HEAD only as a last resort.

Anonymous
Not applicable

Re: Metadata: what should I put in the Custom Head Html?

Most of the time, the editor would be sufficient but it there's some unsupported style or if you want to add some script code to the page, you'll be able to put your custom css and javascript there.

My answer in the following Discussion shows an example of making shading background.
http://community.marketo.com/MarketoDiscussionDetail?id=90650000000PcpWAAS