Setting text style types can help your site appear in search results
Text Styles and Their Associated Semantics
When building your site on Universe, every text element you apply a non-custom text style to has an associated text semantic in the site’s underlying HTML. Whenever you select a style, we will automatically change the semantic (also known as tag) in the website's code when the page is rendered on the internet. For example:
-
Headers and Titles: These are typically assigned as
<h1>
,<h2>
,<h3>
, etc. -
Paragraphs: These are assigned as
<p>
.
These HTML tags (semantics) help search engines understand the structure and hierarchy of your content.
How Search Engines Use Text Semantics
Search engines like Google use text semantics to determine the importance and relevance of the content on your pages. Here’s how:
-
Hierarchical Understanding:
<h1>
tags are interpreted as the most important headings, usually the main topic of the page, while<h2>
,<h3>
, and so on, are seen as subheadings. This hierarchy helps search engines understand the structure of your content. -
Keyword Relevance: When keywords appear in headers (
<h1>
,<h2>
, etc.), they are given more weight compared to regular paragraph text (<p>
). This helps search engines determine the relevance of your page to specific search queries. -
Content Indexing: Proper use of text semantics aids in the efficient indexing of your site. Search engines can categorize and index your content more accurately, which enhances your site's discoverability.
By using styles strategically, you highlight the key topics and sections of your content, making it easier for search engines to understand what your site is about and index your site for relevant search terms.
Setting Text Styles
- Tap on a Text Block on your page from the Grid Editor.
- At the top of the block palette, tap the style picker next to the font styles (bold, italics, etc.).
- Choose your text style and publish. Your site will now use this style on the web to improve your site crawls.