---
schema_version: "1"
id: bb57dc137afad7dd7f141e4b12a9b2a5e1bbdc96ae16d655a8d920c26fe76413
title: Best Practices for Page Block Components
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/best-practices/pages-compref-additional-pageblocksectionitem.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-additional-pageblocksectionitem.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b46023b2a75076b0455342615f50bd47f55aaae028f45c3c0e99ac3b712222f8
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# Best Practices for Page Block Components

## Adding More than Two Child Components to `<apex:pageBlockSectionItem>`

An `<apex:pageBlockSectionItem>` component can only have up to two child components. Sometimes, though, you want to add an extra child component. For example, you may want to add an asterisk before an `<apex:outputLabel>` and still display the associated input text field. You can do this by wrapping the asterisk and output label in an `<apex:outputPanel>` component, as follows:

**note:** For this page to display account data, the ID of a valid account record must be specified as a query parameter in the URL for the page. For example:

```nolang
https://MyDomain_login_URL/apex/myPage?id=001D000000IRosz
```

<!-- otherprops: apex_page set_clipboard -->
```markupex1
<!-- Page: -->
<apex:page standardController="Account">
    <apex:form >
        <apex:pageBlock title="My Content" mode="edit">
            <apex:pageBlockSection title="My Content Section" columns="2">
                <apex:pageBlockSectionItem >
                    <apex:outputPanel>
                        <apex:outputText>*</apex:outputText>
                        <apex:outputLabel value="Account Name" for="account__name"/>
                    </apex:outputPanel>
                    <apex:inputText value="{!account.name}" id="account__name"/> 
                </apex:pageBlockSectionItem>
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>

```

