---
title: tv-text-max-lines
framework: tvml
role: article
role_heading: Article
path: tvml/tv-text-max-lines
---

# tv-text-max-lines

Specifies the maximum number of lines of text in an element.

## Overview

Overview Here’s an example that shows a text element with a maximum of three lines of text. <text style="tv-text-max-lines:3">Maximum of 3 lines</text> Values for tv-text-max-lines Elements that Use tv-text-max-lines description subtitle text title

## See Also

### Text Sizing

- [tv-minimum-scale-factor](tvml/tv-minimum-scale-factor.md)
- [tv-text-style](tvml/tv-text-style.md)
