Consider following snippet:
<form>
     <input type="text" size="7"/>
</fomr>
What does specifies the size attribute?
Explanation
The size attribute specifies the visible width, in characters,
of an <input> element.
Note:
the size attribute works with the following input types:
text, search, tel, url, e-mail, and password.
Tip:
to specify the maximum number of characters
allowed in the <input> element, use the maxlength attribute.

@Vadim_Klimets Fixed!

2017 May 18, 12:54:09 AM

Uncertain question. The "size" attribute for <input/> specifies the width of the single text input field in sequential characters.

2017 May 2, 1:02:27 PM

not clear enough. maxlength attr specifies max chars. size specify chars (not maximum)

2015 Jun 10, 8:53:09 PM

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по HTML & CSS
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты