O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Text Areas

If you want to give visitors room to write questions or comments, use text areas. They will expand as needed Image.

Image The value attribute is not used with the textarea element. Default values are set by adding text between the start and end tags.

<label for="bio">Bio:</label><textarea id="bio" name="bio" rows="8" cols="50" class="large"></textarea>

Image The font properties do not always inherit by default, so you must explicitly set them ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required