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

Which tag is used to add definition lists into a <dl> element?
<dt> <dd> <li>
  <dd> - Hyper Text Markup Language</dd>
  <dd> - Language for web pages</dd>
Which CSS property can hide an element on page, letting an empty space in its place?
display position visibility
#id {
  visibility: hidden;
Click on the event which is triggered when the mouse clicks on an object.
onclick onmouseover onfocus
document.getElementById("id").onclick = function(){
Indicate the PHP variable that contains the contents of both $_GET, $_POST, and $_COOKIE arrays.
if(isset($_REQUEST["id"])) {
  echo $_REQUEST["id"];
Global Object

Last accessed pages

  1. Read Excel file data in PHP - PhpExcelReader (59177)
  2. Constants and Operators (623)
  3. PuzzleImg - Script to Create Image Puzzle Game (2488)
  4. Countdown Timer with starting time added into a form (6648)
  5. PHP getElementById and getElementsByTagName (20493)

Popular pages this month

  1. Read Excel file data in PHP - PhpExcelReader (705)
  2. PhpSpreadsheet - Read, Write Excel and LibreOffice Calc files (602)
  3. Insert, Select and Update NULL value in MySQL (453)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (406)
  5. PHP getElementById and getElementsByTagName (405)