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

caret-shape

Description

The caret-shape property for CSS specifies the shape of the caret.

Syntax

CSS

caret-shape: value;

JS

object.style.caretShape = "value";

Values

<'caret-shape'> = auto | bar | block | underscore
auto

Automatically specified by the user agent.

bar

A thin bar placed at the insertion point.

block

A rectangle overlapping the next visible character following the insertion point.

underscore

A thin line under the next visible character following the insertion point.

Initial

auto

Examples

1 · auto

2 · bar

3 · block

4 · underscore

5 · JS