css.properties

text-overflow

The text-overflow property specifies how overflowed text is handled.

Formal Syntax

[ clip | ellipsis | <string> | fade | <fade()> ]{1,2}

See specification

JavaScript Access

// Access via element.style
element.style.textOverflow = 'clip';

Browser Support

standard | MDN · Spec · Spec

FeatureChromeFirefoxSafariEdge
text-overflow171.312
clip171.312
ellipsis171.312
string9
two_value_syntax9

Related Properties