YouareimplementingaWebpagethatdisplaystextthatwastypedbyauser.YouneedtodisplaytheuserinputintheWebpagesothatacross-sitescriptingattackwillbeprevented.Whatshouldyoudo?() A.Calldocument.write.B.CallResponse.Write.C.CallHttpUtility.UrlEncode.D.CallHttpUtility.HtmlEncode.
YouareimplementingaWebpagethatdisplaystextthatwastypedbyauser.YouneedtodisplaytheuserinputintheWebpagesothatacross-sitescriptingattackwillbeprevented.Whatshouldyoudo?()
A.Calldocument.write.
B.CallResponse.Write.
C.CallHttpUtility.UrlEncode.
D.CallHttpUtility.HtmlEncode.