Let's consider a scenario where we have an input element with the following text:
<input type="text" value="Lucas">
Is there a way to emphasize the "L" in the value as Bold, similar to Lucas?
We are familiar with how this can be achieved using <span>
and <div>
elements:
<span><strong>L</strong>ucas</span>
But can we apply such styling to an <input>
element? And if so, would the value of the input still display the same regardless of the formatting changes?