Core HTML

Form - Textarea

This form example demonstrates how to code a form with a textarea tag in it.

TextareaForm.html

<!DOCTYPE html>
<html>
  <head>
    <title>XoaX.net's HTML: Form - Textarea Tag Example</title>
  </head>
  <body>
    <form>
      The Beatitudes:<br />
      <textarea name="message" rows="25" cols="60" readonly>
Blessed are the poor in spirit, for theirs is the kingdom of heaven.

Blessed are those who mourn, for they shall be comforted.

Blessed are the meek, for they shall inherit the earth.

Blessed are those who hunger and thirst for righteousness, for they shall be satisfied.

Blessed are the merciful, for they shall obtain mercy.

Blessed are the pure in heart, for they shall see God.

Blessed are the peacemakers, for they shall be called sons of God.

Blessed are those who are persecuted for righteousness' sake, for theirs is the kingdom of heaven.

Blessed are you when men revile you and persecute you and utter all kinds of evil against you
falsely on my account. Rejoice and be glad, for your reward is great in heaven, for so men
persecuted the prophets who were before you.</textarea>
    </form>
  </body>
</html>
 

Output

 
 

© 2007–2025 XoaX.net LLC. All rights reserved.