About 52 results
Open links in new tab
  1. 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 { ...

  2. 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.

  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. 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?

  5. 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 …

  6. 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.

  7. css - How do I make a placeholder image in HTML if the original image ...

    Oct 2, 2015 · Learn how to create a placeholder image in HTML when the original image is not found using CSS techniques.

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

    A list of hex codes can be found in the Font Awesome cheatsheet. However, in the lastest FontAwesome 5.0 this method does not work (even if you use the CSS approach combined with the …

  9. 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. …

  10. placeholder vs. data-placeholder, in HTML - Stack Overflow

    Sep 10, 2013 · They can't possibly produce the same results. placeholder is part of the HTML5 spec to show placeholder text in the field before anything is typed, while data-* is just generic data attached …