Problem Statement
Which element is used to add prefix or suffix text in an input group?
Explanation
Inside an input group, wrap any prefix or suffix text in a span with the class .input-group-text. It keeps the text vertically aligned with the input and maintains consistent spacing.
Code Solution
SolutionRead Only
<div class='input-group'> <span class='input-group-text'>₹</span> <input class='form-control' type='number'> </div>
