InterviewSolution
Saved Bookmarks
| 1. |
Which character in JavaScript code will be interpreted as XML markup?(a) !(b) >(c) &(d) .I got this question by my college director while I was bunking the class.Asked question is from Embedding JavaScript in HTML topic in chapter Server-Side and Client-Side Scripting of JavaScript |
|
Answer» RIGHT option is (C) & To elaborate: If your JAVASCRIPT code contains the < or & characters, these characters are interpreted as XML MARKUP. Element tags must begin with the < character, and entities and character references in an XML document must begin with the & character. |
|