About 1,790,000 results
Open links in new tab
  1. HTML <input> placeholder Attribute - W3Schools

    The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format). The short hint is displayed …

  2. How to set an input width to match the placeholder text width

    Nov 11, 2015 · This can be done only via javascript by setting the size = placeholder length: input.setAttribute('size',input.getAttribute('placeholder').length); Here is a code that dose that …

  3. <input type="text"> - HTML: HyperText Markup Language | MDN

    Apr 10, 2025 · You can specify a minimum length (in characters) for the entered value using the minlength attribute; similarly, use maxlength to set the maximum length of the entered value, …

  4. How can the size of an input text box be defined in HTML?

    Sep 25, 2011 · You can also set the width with a visible character length: <input type="text" name="text" size="35">

  5. html - Does the placeholder have a maximum length? - Stack Overflow

    Dec 12, 2023 · So my question is whether the input placeholder has a maximum character length or how can I fix this? padding-right: 100px; When the width of the input element isn't enough to …

  6. HTML Input Text Box | Field | Value, Size, Width, Multiline

    Feb 27, 2019 · In this tutorial, you will learn how to create an HTML Text input box, Set the Height and Width of the text input box, Get the value from the text field, and Multiline Text box in …

  7. HTML Input Attributes - W3Schools

    The placeholder Attribute. The input placeholder attribute specifies a short hint that describes the expected value of an input field (a sample value or a short description of the expected format). …

  8. HTML <input> size Attribute - W3Schools

    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, email, and password. Tip: …

  9. HTML <textarea> Tag - W3Schools

    The <textarea> tag defines a multi-line text input control. The <textarea> element is often used in a form, to collect user inputs like comments or reviews. A text area can hold an unlimited …

  10. css - Placeholder font-size bigger than 16px - Stack Overflow

    Jun 18, 2015 · If I try to increase the font-size to a value higher than 16px, the text gets "cut" at the bottom. This happens regardless of height and padding of the input itself. Does anyone …

  11. Some results have been removed
Refresh