# Property Description

The -moz-user-select property specifies whether the text of the element can be selected.

This property has the following syntax:

    -moz-user-select:value

# Property Values

Value | Description
--- | ---
none | Specifies that the content of the element cannot be selected
text | (default) Specifies that the text content of the element can be selected
all | The element's contents can only be selected as a whole
inherit | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the border and rounded corners:

    <pre style="
      -moz-user-select:none;
      -webkit-user-select: none;">
    This text is not selectable
    </pre>

This produces the following result:

    This text is not selectable

# Browser Support

Firefox | IE | Chrome | Opera | Safari

# Miscellaneous Information

Inherited: | No
Defined In: | N/A
Initial Value: | 0
Applies To: | All elements, except the `table` element when border-collapse is `collapse`