title: How to make only placeholder italics in input
body: <p>How can I format the text of a placeholder in italics, but when someone writes inside the textbox, the text shouldn't be in italics.</p>
  <p>code:</p>
  <pre><code>&lt;input type=&quot;text&quot; id=&quot;search&quot; placeholder=&quot;Search&quot; style=&quot;font-style:italic&quot;&gt;
  </code></pre>
  <p>How can I place italic text only on placeholder but not whole input?</p>