You are here: Reference > JavaScript > client-side > style handling > properties > browser specific extensions > webkitTextSecurity

webkitTextSecurity style property

Browser support:
Specifies or retrieves the type of shape used to hide the letters in a password input field.
This property is not supported by Safari on Microsoft Windows.

Syntax:

object.webkitTextSecurity;
You can find the related objects in the Supported by objects section below.
This property is read/write.
CSS page for this property: -webkit-text-security

Possible values:

The type of this property is string.
 One of the following values: 
circle
Outlined circles.
disc
Default. Solid circles.
none
No marker is shown.
square
Square
Default: disc.

Example HTML code 1:

This example illustrates the use of the -webkit-text-security property:
<input type="password" value="pass" style="-webkit-text-security: circle;" />
Did you find this example helpful? yes no

Supported by objects:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content