Horje

How to add The text in a text area with wrap="hard" will contain newlines (if any) when submitted in a form - HTML wrap Attribute

The textarea wrap attribute.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The textarea wrap attribute</h1>

<form action="/action_page.php">
<textarea rows="2" cols="20" name="usrtxt" wrap="hard">
At Horje you will find free Web-building tutorials.
</textarea>
<input type="submit">
</form>

</body>
</html>

Output should be:

How to add The text in a text area with wrap="hard" will contain newlines (if any) when submitted in a form - HTML wrap Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin