The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/hidefocus.htm
... <button> Button With Rectangle</button> <button hidefocus="true"> Button Without Rectangle</button> ...
See also
- a
- abbr
- acronym
- address
- applet
- area
- b
- bdo
- big
- blockQuote
- body
- button
- caption
- center
- cite
- custom
- dd
- dfn
- dir
- div
- dl
- dt
- em
- embed
- fieldSet
- font
- form
- frame
- frameSet
- 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
- isIndex
- kbd
- label
- legend
- li
- listing
- marquee
- menu
- object
- ol
- p
- plainText
- pre
- q
- rt
- ruby
- s
- samp
- select
- small
- span
- strike
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- tt
- u
- ul
- var
- xmp
Send comments about this topic to Microsoft
Build date: 11/28/2012