Html Put a fixed text on an input text

后端 未结 7 1353
梦毁少年i
梦毁少年i 2020-12-11 04:21

How can i put a default text in an input html element which user can\'t delete (fixed text on start of the input).

The second thing what i want that the cursor will b

7条回答
  •  悲&欢浪女
    2020-12-11 04:44

    You can also do it by using bootstrap :

    div class="input-group">
            
    @

    You can check here.(check the username field)

提交回复
热议问题