HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-overflow

Description

The text-overflow property for CSS specifies rendering when inline content overflows its end line box edge in the inline progression direction of its block container element ("the block") that has overflow other than visible.

Syntax

CSS

text-overflow: value;

JS

object.style.textOverflow = "value";

Values

<'text-overflow'> = clip | ellipsis
clip

Clip inline content that overflows its block container element.

ellipsis

Render an ellipsis character (U+2026) to represent clipped inline content.

Initial

clip

Examples

1 · clip

2 · ellipsis

3 · JS