Configure the main tag on a page
Specify the main content of a page to include in the <main> tag to improve search engine optimization and accessibility.
Before you begin
Role required: sp_admin or admin
About this task
The <main> tag is a semantic HTML element that contains the main content of the page. The <main> tag should be applied to content that is unique to the page and should be configured for only one element on the page.
Procedure
-
Navigate to All > Service Portal > Service Portal Configuration.
-
Select Designer.
-
Select a page.
-
Switch to the portal you want to design pages for by selecting the portal name in the header.
[Omitted image "DesignerSwitchPortal.png"] Alt text: Service Portal Designer header with the portal name SP highlighted
-
Select a container, row, or column on the page that contains the main content of the page.
See the breadcrumbs in the header to confirm you have the correct element selected. You can’t add the <main> tag to a widget.
-
Select the edit icon [[Omitted image "IconEditOption.png"] Alt text: Edit icon].
-
In the Semantic tag field, select Main.
-
Select Save.
Result
In the HTML of the page, the <main> tag contains the container, row, or column. In Service Portal Designer, a <main> tag displays in the bottom-right corner of the element.
[Omitted image "main-tag.png"] Alt text: Main tag configured for a page in Service Portal Designer
Parent Topic:Improving search engine optimization for portals
---
title: Configure the main tag on a page
description: Specify the main content of a page to include in the <main> tag to improve search engine optimization and accessibility.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-user-interface/service-portal/configure-main-tag-on-page.html
release: brazil
product: Service Portal
classification: service-portal
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Improving search engine optimization for portals, Service Portal, Configure UIs and portals, Configure user experiences]
---
# Configure the main tag on a page
Specify the main content of a page to include in the **<main>** tag to improve search engine optimization and accessibility.
## Before you begin
Role required: sp\_admin or admin
## About this task
The **<main>** tag is a semantic HTML element that contains the main content of the page. The **<main>** tag should be applied to content that is unique to the page and should be configured for only one element on the page.
## Procedure
1. Navigate to **All** > **Service Portal** > **Service Portal Configuration**.
2. Select **Designer**.
3. Select a page.
4. Switch to the portal you want to design pages for by selecting the portal name in the header.
\[Omitted image "DesignerSwitchPortal.png"\] Alt text: Service Portal Designer header with the portal name SP highlighted
5. Select a container, row, or column on the page that contains the main content of the page.
See the breadcrumbs in the header to confirm you have the correct element selected. You can’t add the **<main>** tag to a widget.
6. Select the edit icon \[\[Omitted image "IconEditOption.png"\] Alt text: Edit icon\].
7. In the **Semantic tag** field, select **Main**.
8. Select **Save**.
## Result
In the HTML of the page, the **<main>** tag contains the container, row, or column. In Service Portal Designer, a **<main>** tag displays in the bottom-right corner of the element.
\[Omitted image "main-tag.png"\] Alt text: Main tag configured for a page in Service Portal Designer
**Parent Topic:**[Improving search engine optimization for portals](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-user-interface/service-portal/seo-sp.md)
| title | Configure the main tag on a page |
| description | Specify the main content of a page to include in the <main> tag to improve search engine optimization and accessibility. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-user-interface/service-portal/configure-main-tag-on-page.html |
| release | brazil |
| product | Service Portal |
| classification | service-portal |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Improving search engine optimization for portalsService PortalConfigure UIs and portalsConfigure user experiences |