---
title: p.simpletable.head
description: "## Syntax **p.simpletable.head** ## Purpose The p.simpletable.head annotation is used to tag an element as being the header row of a simple table. A simple table is any table of uniform size and shape with no additional formatting or captions…"
url: "https://www.stilo.com/docs/migrate/prolog/p-simpletable-head/"
updated: "2023-11-08"
category: Annotations / Prolog
tags:
  - Annotations
---

# p.simpletable.head

## Syntax

**p.simpletable.head**

## Purpose

The p.simpletable.head annotation is used to tag an element as being the header row of a simple table. A simple table is any table of uniform size and shape with no additional formatting or captions applied. This annotation creates a table, so to be applied correctly, the content must not be contained within a table (see Example).

## Examples

The following is an example of a time where you might want to use the p.simpletable.head annotation:

![](https://www.stilo.com/wp-content/uploads/2023/11/stilo-dita-xml-annotation-p.simpletable.head0_.png)

This content will be organized into a simple table format. The p.simpletable.head annotation will be used to mark the first row (Date | Significance | Region) as the header row.

![](https://www.stilo.com/wp-content/uploads/2023/11/stilo-dita-xml-annotation-p.simpletable.head1_.png)
 This content is already in a table, and will not correctly apply annotations related to simple tables.

The following is an example of a rule that will apply p.simpletable.head:

![](https://www.stilo.com/wp-content/uploads/2023/11/stilo-dita-xml-annotation-p.simpletable.head2_.png)

Note: this rule applies two annotations. In this example, Migrate will apply the p.simpletable.head annotation only to a paragraph containing a span which has the SimpleHeadChar style.

See p.simpletable.row for more information.

The following is an example of the DITA output you would get from this annotation.

 

<simpletable>
 <sthead>
 <stentry>Date</stentry>
 <stentry>Significance</stentry>
 <stentry>Region</stentry>
 </sthead>
 <strow>
 <stentry>Jun 21</stentry>
 <stentry>Summer Solstice</stentry>
 <stentry>Global</stentry>
 </strow>
 <strow>
 <stentry>Oct 31</stentry>
 <stentry>Halloween</stentry>
 <stentry>North America</stentry>
 </strow>
 </simpletable>

````
