Which property is used to name a web control?

  1. ControlName

  2. Designation

  3. ID

  4. Name

  5. Title


Correct Option: C
Explanation:

To solve this question, the user needs to know about web controls and how they are named. Web controls are elements used to interact with a user on a web page, such as buttons, text boxes, or drop-down lists. Each web control needs a unique identifier or name to distinguish it from other controls on the page.

Now, let's go through each option and explain why it is right or wrong:

A. ControlName: This option is incorrect because "ControlName" is not a commonly used property to name a web control. The property used to name a web control is typically something else.

B. Designation: This option is incorrect because "Designation" is not a commonly used property to name a web control. The property used to name a web control is typically something else.

C. ID: This option is correct. The "ID" property is commonly used to name a web control. It provides a unique identifier for the control, which can be used to manipulate or access the control in code.

D. Name: This option is incorrect because "Name" is not commonly used as a property to name a web control. The property used to name a web control is typically something else.

E. Title: This option is incorrect because "Title" is not commonly used as a property to name a web control. The property used to name a web control is typically something else.

The Answer is: C

Find more quizzes: