Report Bug

Qus

Consider the below div tag content statement, how to print the value of "UserName"?

<div ng-app=" ng-init="firstName='John'">
<p>Input something in the input box:</p>
<p>Name: <input type="text" ng-model="UserName"></p>
<p>You wrote: _____________</p>
</div>
Qus

नीचे दिए गए डिव टैग कंटेंट स्टेटमेंट पर विचार करें, "UserName" का मान कैसे प्रिंट करें?

<div ng-app=" ng-init="firstName='John'">
<p>Input something in the input box:</p>
<p>Name: <input type="text" ng-model="UserName"></p>
<p>You wrote: _____________</p>
</div>


A. UserName
B. {{UserName}}
C. {UsertName}
D. {_UserName)


Solution
B. {{UserName}}



Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad