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></textarea>
<br>
<input type="submit" value="Check"></form>
<?Php
echo "</div><div class='col-md-4'>";
require "templates/side_for_ad.php";
echo "</div></div>";
require "../../templates/temp1/analytic-only.php";
?>