ASP HTMLEncode နည်းလမ်း
❮ ဆာဗာအရာဝထ္ထုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
HTMLEncode နည်းလမ်းသည် HTML ကုဒ်နံပါတ်ကို သတ်မှတ်ထားသော စာကြောင်းတစ်ခုတွင် အသုံးပြုသည်။
အထားအသို
Server.HTMLEncode(string)
Parameter | Description |
---|---|
string | Required. The string to encode |
ဥပမာ
The following script:
<%
response.write(Server.HTMLEncode("The image tag: <img>"))
%>
Output:
The image tag: <img>
Web browser output:
The image tag: <img>
❮ ဆာဗာအရာဝထ္ထုရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။