How to added the fafa i Con in Password Text Box in asp.net

How to added the fafa i Con in Password Text Box in asp.net

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tahir AnsariRank #366 · 6.8K reputationPosted Oct 14, 2023, 9:27 AM EDT
Apply CSS styles to control the appearance of the container and the
TextBox..input-group { display: flex; align-items: center; } .input-group-addon { background: #ccc; padding: 10px; border-radius: 5px 0 0 5px; } .form-control { padding: 10px; border: 1px solid #ccc; border-radius: 0 5px 5px 0; width: 100%; }Jignesh KumarRank #91 · 22.9K reputationPosted Oct 17, 2023, 9:01 AM EDT
Hi,
Please add css reference to your page,
add input in your page,
please refer this link to get more idea : https://codeconvey.com/font-awesome-icon-inside-input-field/