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.
Questions
Which best describes JavaScript?
- a low-level programming language.
- a compiled scripting language.
- an object-oriented scripting language.
- a scripting language precompiled in the browser.
What property would you use to redirect a visitor to another page?
- document.URL
- window.location.href
- document.location.href
- link.href
What's the default setting for the expires attribute of the document.cookie property?
- The duration the current document stays loaded.
- Twenty-four hours from the time the cookie is set.
- There is no default setting.
- The duration of the browser session.
Choose the server-side JavaScript object?
- FileUpLoad
- Function
- File
- Date
Choose the client-side JavaScript object?
- FileUpLoad
- Client
- Cursor
- Database
Which property returns the number of arguments expected by a function?
- arguments.length
- Function.caller
- Function.display
- Function.arity
What allows JavaScript to access methods and properties of a Java applet?
- The Java console
- LiveConnect
- LiveWire
- LiveWire Pro
How do you delete a cookie?
- You can't. They're valid until they expire.
- Overwrite it with an expiry date in the past.
- escape() the value of the path attribute.
- nescape() the value of the path attribute.
JavaScript was originally developed by?
- Adolph
- Abel
- Aztec
- Brendan Eich
Where is the correct place to insert a JavaScript?
- Both the <head> section and the <body> section are correct
- The <body> section
- The <head> section
- The <JavaScript> section
What does CSS stand for?
- Colorful Style Sheets
- Cascading Style Sheets
- Creative Style Sheets
- Computer Style Sheets
What is the correct HTML for referring to an external style sheet?
- <stylesheet>mystyle.css</stylesheet>
- <link rel="stylesheet" type="text/css" href="mystyle.css">
- <style src="mystyle.css">
- <style link="mystyle.css">
Which is the correct CSS syntax?
- body {color: black}
- body:color=black
- {body:color=black(body}
- {body;color:black}
Which property is used to change the background color?
- background-color:
- bgcolor:
- color:
- backgroundcolor:
How do you add a background color for all
elements?
- all.h1 {background-color:#FFFFFF}
- h1 {background-color:#FFFFFF}
- h1.all {background-color:#FFFFFF}
- h1.all {color:#FFFFFF}
How do you display hyperlinks without an underline?
- a {text-decoration:no underline}
- a {text-decoration:none}
- a {underline:none}
- a {decoration:no underline}
How do you make each word in a text start with a capital letter?
- You can't do that with CSS
- text-transform:uppercase
- text-transform:capitalize
- text-transform:CAPS
Which is not a Type of CSS?
- Inline
- Embedded
- Internal
- External
CSS is Developed by?
- Nortan Pacher
- Steve Nelson
- John Aden
- World Wide Web Consortium
What does HTML stand for?
- Home Tool Markup Language
- Hyperlinks and Text Marking Language
- Hyper Text Markup Language
- Hyperlinks and Text Markup Language