The Global object has properties and methods at the highest level, without a parent object. This means the global properties and functions can be used with all the built-in JavaScript objects.


Properties of the Global object


Methods of the Global object

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which HTML element can be used to embed a SWF flash content?
<object> <div> <script>
<object type="application/x-shockwave-flash" data="file.swf" width="500" height="250">
 <param name="src" value="file.swf" />
 Your browser not support SWF.
</object>
Which CSS pseudo-class adds a style to an input form field that has keyboard input focus?
:active :focus :hover
input:focus {
  background-color: #88fe88;
}
Click on the instruction which converts a JSON string into a JavaScript object.
JSON.stringify(javascript_object) object.toString() JSON.parse(json_string)
var jsnstr = '{"url": "http://coursesweb.net/", "title": "Web Development Courses"}';
var obj = JSON.parse(jsnstr);
alert(obj.url);
Indicate the PHP function which can be used to create or write a file on server.
fopen() file_put_contents() file_get_contents()
if (file_put_contents("file.txt", "content")) echo "The file was created";
else echo "The file can not be created";
Global Object

Last accessed pages

  1. Node.js Move and Copy file (14361)
  2. SHA512 Encrypt hash in JavaScript (14621)
  3. Contact page - CoursesWeb (29755)
  4. CSS Course - Free lessons (9672)
  5. Tabs effect with CSS (30415)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1198)
  2. Contact page - CoursesWeb (1169)
  3. Tabs effect with CSS (1164)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (500)
  5. PHP getElementById and getElementsByTagName (364)