Elements that are editable include: elements that are not read-only and that are not disabled. Enjoy. Syntax: According to the official CSS Specifications, a :read-write selector will match an element when: it is either an input which has readonly nor disabled attributes. HTML TextArea Tag is used in a web application, where needs multiple lines of text input or long text content.For example in e-commerce sides like Flipkart and Amazon needed a user address. ::after). When present, it specifies that an input field or textarea is read-only. It is a boolean attribute. Another example is where the same size text field required is the Review and Comment section. autoSize prop for a textarea type of Input makes the height to automatically adjust based on the content. Syntax: It is used to return the readOnly property. ... Get the CSS-Tricks newsletter. To be on the safe side, i … 1. Style elements with a "readonly" attribute with CSS CSS Web Development Front End Technology To select elements that are read-only, use the CSS :read-only selector. Here is a collection of nine things you might want to do related to textareas. The CSS rule that Forms uses to change the background color of read-only input boxes is very specific and overrides other styles. That time the user has to fill the address details. An element that is not an or a