The HTML Attribute reference.

"readonly" - html Attribute

  • Specifies whether the control can be modified by the user.
  • When set for a form control, this boolean attribute prohibits changes to the control.

Value(s): readonly
Used in the element(s):
Elements Description
input This element defines a form control for the user to enter input.
textarea This element is used in forms to get multiple lines of text from the user.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.