Demo of textarea box with required attribute




Submit the form by clicking the Check button without entering any text.

HTML

<form method=post><TextArea name='txtArea1' rows="3" cols="50" required=true></TextArea>
<br>
<input type="submit" value="Check"></input></form>
<?Php
echo "</div><div class='col-md-4'>";
require "templates/side_for_ad.php";
echo "</div></div>";
require "../../templates/temp1/analytic-only.php";
?>