Here is the basic page. Need to add a HTML header

<apex:page language="en_US" standardStylesheets="false" showHeader="false" cache="true">
         <chatteranswers:allfeeds communityId="XYZ"/>
  • 1
    Welcome to the site! When pasting in code samples, be sure to highlight the code and hit the {} button or indent all lines by 4 spaces to get the correct formatting. You're going to need to add more information to this, what are you looking to have in the header? You can just insert any HTML you want above the <chatteranswers> tag... – Matt Lacey Sep 24 '13 at 4:57


From summer 13 salesforce(28.0) gives us ability to control the tag insertion manually.

In apex page there is an attribute called applyHtmlTag .By default this is true and if set to false then tag wont be generated automatically and instead we can manually add the tag in .

For you case as you have not mentioned anything this is set to true by default .

There is also an attribute applyBodyTag and what this does is control generation of tag into generated markup .

In your case since you have not specified by default it sets as per "applyHtmlTag" so its true so you need not put body tag again

<apex:page language="en_US" standardStylesheets="false" showHeader="false"   cache="true">
      <h1>here you can add more html</h1>
     <chatteranswers:allfeeds communityId="XYZ"/>
      <h3>here you can add more html</h3>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.