How to set placeholder text watermark in a textbox vb.net

It is very easy to use placeholder text in texbox control

Step1:-

Use placeholder property in textbox tool

placeholder=”Enter Email id “


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <table> 
            <tr>  

                <td>S.No  </td>
                 <td>
                     <asp:TextBox ID="TextBox1" runat="server" placeholder="Enter Email id "  ></asp:TextBox> </td>
            </tr>
              <tr>  

                <td> Name </td>
                 <td>  </td>
            </tr>
              <tr>  

                <td>Email ID  </td>
                 <td>  </td>
            </tr>

        </table>
    
    </div>
    </form>
</body>
</html>

Step2:-

Step3:-

j

now you can see place holder

read more visit https://codingsansar.com/