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 tag can be used to create input text field in web page?
<form> <input> <div>
<input type="text" name="a_name" value="val" />
Which CSS property displays the text in a small-caps font?
display font-variant font-style
h3 {
  font-variant: small-caps;
}
What instruction displays a notice box with a message inside it, in JavaScript?
for() Date() alert()
var msg = "Visit CoursesWeb.net";
alert(msg);
Indicate the PHP code used to get the users IP.
$_SERVER["HTTP_USER_AGENT"] $_SERVER["REMOTE_ADDR"] $_GET[]
$ip = $_SERVER["REMOTE_ADDR"];
echo $ip;
Global Object

Last accessed pages

  1. CSS Course - Free lessons (11113)
  2. Contact page - CoursesWeb (40192)
  3. Tabs effect with CSS (40804)
  4. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (47937)
  5. HTML5 Quick Tutorial (4273)

Popular pages this month

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