About 51 results
Open links in new tab
  1. How do I make a placeholder for a 'select' box? - Stack Overflow

    Apr 27, 2011 · Learn how to create a placeholder for a 'select' box using HTML and JavaScript on Stack Overflow.

  2. css - Center HTML Input Text Field Placeholder - Stack Overflow

    How can I centre the input field's placeholder's alignment in a html form? I am using the following code, but it doesn't work: CSS -> input.placeholder { text-align: center; } .emailField { ...

  3. Change an HTML input's placeholder color with CSS

    Chrome v4 supports the placeholder attribute on input[type=text] elements (others probably do too). However, the following CSS doesn't do anything to the placeholder's value: input[placeholder], [

  4. javascript - Change placeholder text - Stack Overflow

    Nov 22, 2012 · How can I change the placeholder text of an input element? For example I have 3 inputs of type text.

  5. How to set placeholder value using CSS? - Stack Overflow

    Nov 10, 2011 · I want to set the placeholder value of an input box using only CSS and no JavaScript or jQuery. How can I do this?

  6. html - what is the difference between placeholder and aria-placeholder ...

    Jan 12, 2022 · A placeholder is a text that appears in the form control when it has no value set. The HTML placeholder attribute enables providing a sample value or a brief description of the expected …

  7. Format a JavaScript string using placeholders and an object of ...

    Currently there is still no native solution in Javascript for this behavior. Tagged templates are something related, but don't solve it. Here there is a refactor of alex's solution with an object for replacements. …

  8. html - Use Font Awesome Icon in Placeholder - Stack Overflow

    70 You can't add an icon and text because you can't apply a different font to part of a placeholder, however, if you are satisfied with just an icon then it can work. The FontAwesome icons are just …

  9. How do I change a Microsoft Word Content Control placeholder text ...

    Jul 29, 2020 · To reset the placeholder text loop through the content controls and write the text currently in the control to a variable. Delete the text in control and set the placeholder text to the value of the …

  10. Can you have multiline HTML5 placeholder text in a <textarea>?

    Aug 25, 2011 · Chrome 37 is displaying placeholder text in a textarea without stripping the newlines. Does anyone know what the name of the 'feature' is so that I can a) look for it, and b) test for it?