是什么VS html.En code html.AttributeEn code之间的区别? [英] What is the difference between html.AttributeEncode vs html.Encode?
本文介绍了是什么VS html.En code html.AttributeEn code之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是什么C VS html.En code?
What is the difference between html.AttributeEncode vs html.Encode?
推荐答案
<一个href=\"http://msdn.microsoft.com/en-us/library/system.web.mvc.htmlhelper.attributeen$c$c.aspx\">AttributeEn$c$c仅转换字符的几个:
- &安培;
- &LT;
- \\
恩code 做一个完整的HtmlEn code,编码的任何字符不是在HTML中。
Encode does a full HtmlEncode, encoding any characters that aren't in Html.
这篇关于是什么VS html.En code html.AttributeEn code之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文