Web Technology Fundamentals

Quiz covering core web development technologies including HTML tags and structure, CSS properties and syntax, and JavaScript basics including functions, cookies, and client-side objects.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which best describes JavaScript?

  1. a low-level programming language.
  2. a compiled scripting language.
  3. an object-oriented scripting language.
  4. a scripting language precompiled in the browser.
Question 2 Multiple Choice (Single Answer)

What property would you use to redirect a visitor to another page?

  1. document.URL
  2. window.location.href
  3. document.location.href
  4. link.href
Question 3 Multiple Choice (Single Answer)

What's the default setting for the expires attribute of the document.cookie property?

  1. The duration the current document stays loaded.
  2. Twenty-four hours from the time the cookie is set.
  3. There is no default setting.
  4. The duration of the browser session.
Question 4 Multiple Choice (Single Answer)

Choose the server-side JavaScript object?

  1. FileUpLoad
  2. Function
  3. File
  4. Date
Question 5 Multiple Choice (Single Answer)

Choose the client-side JavaScript object?

  1. FileUpLoad
  2. Client
  3. Cursor
  4. Database
Question 6 Multiple Choice (Single Answer)

Which property returns the number of arguments expected by a function?

  1. arguments.length
  2. Function.caller
  3. Function.display
  4. Function.arity
Question 7 Multiple Choice (Single Answer)

What allows JavaScript to access methods and properties of a Java applet?

  1. The Java console
  2. LiveConnect
  3. LiveWire
  4. LiveWire Pro
Question 8 Multiple Choice (Single Answer)

How do you delete a cookie?

  1. You can't. They're valid until they expire.
  2. Overwrite it with an expiry date in the past.
  3. escape() the value of the path attribute.
  4. nescape() the value of the path attribute.
Question 9 Multiple Choice (Single Answer)

JavaScript was originally developed by?

  1. Adolph
  2. Abel
  3. Aztec
  4. Brendan Eich
Question 10 Multiple Choice (Single Answer)

Where is the correct place to insert a JavaScript?

  1. Both the <head> section and the <body> section are correct
  2. The <body> section
  3. The <head> section
  4. The <JavaScript> section
Question 11 Multiple Choice (Single Answer)

What does CSS stand for?

  1. Colorful Style Sheets
  2. Cascading Style Sheets
  3. Creative Style Sheets
  4. Computer Style Sheets
Question 12 Multiple Choice (Single Answer)

What is the correct HTML for referring to an external style sheet?

  1. <stylesheet>mystyle.css</stylesheet>
  2. <link rel="stylesheet" type="text/css" href="mystyle.css">
  3. <style src="mystyle.css">
  4. <style link="mystyle.css">
Question 13 Multiple Choice (Single Answer)

Which is the correct CSS syntax?

  1. body {color: black}
  2. body:color=black
  3. {body:color=black(body}
  4. {body;color:black}
Question 14 Multiple Choice (Single Answer)

Which property is used to change the background color?

  1. background-color:
  2. bgcolor:
  3. color:
  4. backgroundcolor:
Question 15 Multiple Choice (Single Answer)

How do you add a background color for all

elements?

  1. all.h1 {background-color:#FFFFFF}
  2. h1 {background-color:#FFFFFF}
  3. h1.all {background-color:#FFFFFF}
  4. h1.all {color:#FFFFFF}
Question 16 Multiple Choice (Single Answer)

How do you display hyperlinks without an underline?

  1. a {text-decoration:no underline}
  2. a {text-decoration:none}
  3. a {underline:none}
  4. a {decoration:no underline}
Question 17 Multiple Choice (Single Answer)

How do you make each word in a text start with a capital letter?

  1. You can't do that with CSS
  2. text-transform:uppercase
  3. text-transform:capitalize
  4. text-transform:CAPS
Question 18 Multiple Choice (Single Answer)

Which is not a Type of CSS?

  1. Inline
  2. Embedded
  3. Internal
  4. External
Question 19 Multiple Choice (Single Answer)

CSS is Developed by?

  1. Nortan Pacher
  2. Steve Nelson
  3. John Aden
  4. World Wide Web Consortium
Question 20 Multiple Choice (Single Answer)

What does HTML stand for?

  1. Home Tool Markup Language
  2. Hyperlinks and Text Marking Language
  3. Hyper Text Markup Language
  4. Hyperlinks and Text Markup Language