JavaScript Is More Than You Might Think

  • 6/15/2013

Exercises

  1. True or False: JavaScript is defined by a standards body and is supported on all web browsers.
  2. True or False: When a visitor whose machine has JavaScript disabled comes to your website, you should block his access to the site because there’s no valid reason to have JavaScript disabled.
  3. Create a JavaScript definition block that would typically appear on an HTML page within the <HEAD> or <BODY> block.
  4. True or False: It’s important to declare the version of JavaScript being used within the DOCTYPE definition block.
  5. True or False: JavaScript can appear in the <HEAD> block and within the <BODY> text of an HTML page.