> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/tagging/tags-with-styling.md).

# Tags with styling

1. Include optional styling instructions for each tag to control its appearance.
2. If no styling is specified, the tag inherits the default formatting from the tag's text.

Reference: [tags](/json-template-syntax/tags.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1anCYNK3SgAB94XUYbyrXov5qwi0KR1Z8) | [output.pptx](https://drive.google.com/uc?export=download\&id=17Qg-VeNRwWK8l_RA6Ftp2uLWaoplStbJ)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="/files/ZpYhMKYedL4S9rFF5HUh" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/RMlCPBJHdlJFQv6vecDZ" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "tag1",
            "value": "Set your own styling",
            "font_type": "Forte",
            "font_size": 25,
            "font_color": "#FF0000"
          },
          {
            "key": "tag2",
            "value": "Override existing styling",
            "font_underline": false,
            "font_bold": false,
            "font_size": 40,
            "font_color": "yellow",
            "font_type": "Impact"
          },
          {
            "key": "tag3",
            "value": "How to use Tags in PowerPoint Generator API",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "#0070C0"
          },
          {
            "key": "ph1",
            "value": "first",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "ph2",
            "value": "second",
            "font_type": "Arial",
            "font_size": 8
          },
          {
            "key": "ph3",
            "value": "third",
            "font_type": "Times New Roman",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "ph4",
            "value": "first",
            "font_size": 35,
            "font_italic": true
          },
          {
            "key": "ph5",
            "value": "second",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "39,186,166"
          },
          {
            "key": "ph6",
            "value": "third",
            "font_type": "Arial",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "txt1",
            "value": "Rev",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "txt2",
            "value": "55",
            "font_italic": true,
            "font_size": 30,
            "font_bold": true,
            "font_color": "150,60,250"
          },
          {
            "key": "txt3",
            "value": "Iphone",
            "font_type": "Aptos",
            "font_size": 15,
            "font_underline": true
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
