Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 7: Facilitating User Interaction with HTML Forms!

Instruction

Styling Text Areas with CSS

To control the display size of the text area, you can use CSS properties like width and height.

textarea {
  height: 5em;
  width: 25em;
}

Here:

  • height: Controls the vertical size, measured in ems (where 1em equals the font size of the text within the text area).
  • width: Controls the horizontal width, also using ems.

This CSS will make the tex...