How to Work with Content Placeholders in SharePoint 2010
SharePoint Designer makes it easy to override placeholders from the master page. To put your content into a placeholder instead of using the master page’s content:
1Open a page layout in Edit mode and check it out by clicking Yes when prompted to check out the file.
Do this in a non-production site. If you have to use a production site, be sure to discard your changes without publishing a major version.
2Place the page in Design mode by clicking the Design button in the lower-left corner of the screen.
You see a WYSIWYG (what you see is what you get) display of the page layout. Most of what you see actually comes from the master page.
3Hover your mouse over different areas of the page.
As you do, notice that names of placeholders appear. Those with Master in them display content from the master page. Those with Custom are in your page layout.
4Find the PlaceHolderMain content placeholder and click it.
The PlaceHolderMain content placeholder is used to contain the body of the page, so it’s usually the largest placeholder on the page.
One way to make sure you’ve selected the proper element is to use the Visual Aids tags at the bottom of the screen.
5In the Visual Aids toolbar, click the <asp:Content> tag and choose Select Tag.
The entire tag is highlighted.
6Click the Split button on the View tab of the Ribbon to display half the page in Code view and the other half in Design view.
The PlaceHolderMain content placeholder and its contents are highlighted. As you select different elements in Design view, notice that the code is highlighted in the Code view. This is a great way to browse through a layout and see how it works.
7Select the PlaceHolderPageDescription content placeholder in Design view and click the arrow on the far right of the placeholder.
A smart tag appears. Any place you see these arrows, click them and then you see common tasks that are associated with that placeholder or control.
8In the Common Content Tasks tag, click Create Custom Content.
The placeholder appears in Code view.
9In Code view or Design view, type Hello world in the PlaceHolderPageDescription content placeholder.
Preview your changes in the browser by clicking the Preview in Browser button on the Home tab of the Ribbon.