Sets or gets the value that indicates whether the object visibly shows that it has focus.
Syntax
| HTML | <element hidefocus="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: Boolean
Remarks
The focus of an object is visibly indicated by a focus rectangle—a dotted rectangle within the boundaries of the object.
This property does not control the ability of an object to receive focus; for that, use the tabIndex property.
Examples
The following example shows how to use the hideFocus attribute to prevent a focus rectangle from appearing on a button.
... <button> Button With Rectangle</button> <button hidefocus="true"> Button Without Rectangle</button> ...
See also
- a
- abbr
- address
- area
- b
- bdo
- blockQuote
- body
- button
- caption
- cite
- custom
- dd
- div
- dl
- dt
- em
- embed
- fieldSet
- form
- hn
- hr
- i
- iframe
- img
- input type=button
- input type=checkbox
- input type=file
- input type=hidden
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- ins
- kbd
- label
- legend
- li
- object
- ol
- p
- pre
- q
- rt
- ruby
- s
- samp
- select
- small
- span
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- u
- ul
- var
Build date: 11/28/2012