

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do we add the width in characters for <input> in HTML?
Example
<!DOCTYPE html> <html> <body> <form action = ""> Subject: <input type = "text" name="sub" maxlength = "10" size = "10"><br> <input type = "submit" value = "Submit"> </form> </body> </html>
Output
- Related Questions & Answers
- How do we add a single-line input field in HTML?
- How do we add the maximum number of characters allowed in an element in HTML?
- How do we add glossary definitions in HTML?
- How do we add bold text in HTML?
- How do we add document title in HTML?
- How do we include the legal number intervals for an input field in HTML?
- How do we take password input in HTML forms?
- How do we reset all the input fields in HTML forms?
- How do we add a comment in HTML code?
- How do we add a definition term in HTML?
- How do we add a noframe section in HTML?
- How do we add a noscript section in HTML?
- How do we add a menu list in HTML?
- How do we add a table row in HTML?
- How do we display the visible width of a text area in HTML?
Advertisements