<!DOCTYPE html> <html lang="en"> <head> <title>The readonly Attribute</title> </head> <body> <form action="#"> Order No <input type="text" name="orderNo" value="8284" readonly /> <br /><br />Comment<br /><br /> <textarea name="comments" cols="30" rows="3" readonly> Type some content here </textarea> </form> </body> </html>