- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the text wrap in a form in HTML
Use the wrap attribute to set the text wrap in HTML. You can try to run the following code to implement wrap attribute −
Example
<!DOCTYPE html> <html> <body> <form action = ""> <textarea rows = "2" cols = "12" name = "details" wrap = "hard"> This is demo text This is demo text This is demo text This is demo text</textarea><br> <input type = "submit"> </form> </body> </html>
Advertisements