What is the correct answer?


To display HTML tags as it is use

A. Encode

B. HTMLEncode

C. URLEncode

D. EncodeHTML

Correct Answer :

B. HTMLEncode

Related Questions

Caching type supported by ASP.Net The HTML control that helps to browse a file is Default Session data is stored in ASP.Net. Error handling can be done through Global.asax To write a root tag say '<details>' through ASP.NET use By default a WebForm inherits from You can send an e-mail with an attachment using only SmtpMail class While accessing values submitted to a web form, __________ property of… File extension used for ASP.NET files. How can you check if the page is visited for the first time In ASP.NET, the default method of a form is You want to ensure that the user ID is saved between requests when the… If a Table controls name is Table1, to access value from its second row,… Attribute must be set on a validator control for the validation to work. You have an image that is clickable and you want a pop-up window to display… How do we create a FileSystemObject? What class does a Web Service Inherit? HTML tag equivalent to Panel is Anything appearing before ________ is cleared Can you have more than one form declaration on a web form? Can you use client-side event handler and server-side event handler for… If passwords are to be sent from one page to another, we can use For Adrotator control the XML file is mentioned through ________ property Options available with SelectionMode are What namespace contains the classes for file and directory access? To display HTML tags as it is use The default method of a WebForm is Anything appearing after ________ is cleared One difference between ASP.NET and ASP is that ASP is more structure than… ______________ creates a read-only recordset that can scroll in any direction.