---
title: textBadge
framework: tvml
role: collectionGroup
path: tvml/textbadge
---

# textBadge

Displays text associated with an image.

## Overview

Overview The textBadge element contains a link to an image that is to be displayed. Here’s an example that displays the Subtitles for the deaf and hard of hearing (SDH) badge. <textBadge>SDH</textBadge> Contained In header organizer

## Topics

### Valid TVML Styles

- [background-color](tvml/background-color.md)
- [border-radius](tvml/border-radius.md)
- [color](tvml/color.md)
- [font-family](tvml/font-family.md)
- [font-size](tvml/font-size.md)
- [font-weight](tvml/font-weight.md)
- [margin](tvml/margin.md)
- [padding](tvml/padding.md)
- [text-shadow](tvml/text-shadow.md)
- [tv-tint-color](tvml/tv-tint-color.md)

### Valid TVML Attributes

- [binding](tvml/binding.md)
- [prototype](tvml/prototype.md)
- [theme](tvml/theme.md)
- [type](tvml/type.md)

## See Also

### Badge Elements

- [badge](tvml/badge.md)
- [ratingBadge](tvml/ratingbadge.md)
- [seasonBadge](tvml/seasonbadge.md)
