How to create input field with specified size (number of characters) in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>

<form action="">
Company name: <br / >
<input type="text" name="companyname" value="abcdefg" size="8">
<br /><br />
<input type="submit">
</form>

</body>
</html>

 



answered Jan 4, 2019 by avibootz

Related questions

1 answer 215 views
1 answer 194 views
2 answers 324 views
1 answer 264 views
1 answer 283 views
...