# Tags

## Overview

Press `enter`, `tab`, or `,` to add a tag. Click an <span class="bg-grey-200 text-grey-600 rounded font-bold px-1">×</span> to remove one. That's  all there is to it.

## Data Storage
Your tags will get saved as a simple YAML list, like this:

```yaml
- applesauce
- garbage pants
- socks
```

## Templating

Loop through the array items to display each item's `value`.

::tabs

::tab antlers
```antlers
<h1>I've heard rumors of:</h1>
<ul>
  {{ tags }}
    <li>{{ value }}</li>
  {{ /tags }}
</ul>
```

::tab blade

```blade
<h1>I've heard rumors of:</h1>
<ul>
	@foreach ($tags as $tag)
		<li>{{ $tag }}</li>
	@endforeach
</ul>
```
::

```html
<h1>I've heard rumors of:</h1>
<ul>
  <li>applesauce</li>
  <li>garbage pants</li>
  <li>socks</li>
</ul>
```

:::tip
This fieldtype uses the word "taggable" in a generic way. If you're looking for a way to tag/categorize your content on a _schema_-level, you should read about [taxonomies](/taxonomies.md).
:::
