πŸ“Š Fundamentals of Web Designing
Q. Select all the correct option(s). State the correct place of JS Code inside HTML –
  • (A) inside body
  • (B) inside head
  • (C) all of these
  • (D) inside single javascript file
πŸ’¬ Discuss
βœ… Correct Answer: (C) all of these
πŸ“Š Fundamentals of Web Designing
Q. <script type="text/javascript"> var s = "9123456 or 80000?"; var pattern = /\d{4}/; var output = s.match(pattern); document.write(output); </script>
  • (A) 9123
  • (B) 91234
  • (C) 80000
  • (D) none of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) 9123
πŸ“Š Fundamentals of Web Designing
Q. The syntax of capture events method for document object is ______________
  • (A) captureevents()
  • (B) captureevents(argseventtype)
  • (C) captureevents(eventtype)
  • (D) captureevents(eventval)
πŸ’¬ Discuss
βœ… Correct Answer: (C) captureevents(eventtype)