You are here: Reference > JavaScript > client-side > style handling > properties > browser specific extensions > webkitTextSecurity
webkitTextSecurity style property
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:
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:
Outlined circles. | |||||||
Default. Solid circles. | |||||||
No marker is shown. | |||||||
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?
|
Supported by objects:
CSSStyleDeclaration, htmlElement.style
HTML elements:
a, abbr, acronym, address, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, input:button, input:file, input:password, input:reset, input:search, input:submit, input:text, ins, isindex, kbd, label, legend, li, marquee, menu, ol, p, pre, q, s, samp, select, small, span, strike, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead, tr, tt, u, ul, var, xmp
Related pages:
External links:
User Contributed Comments