The navigator obiect belongs to the "window" object.
- navigator contains information about the browser application.
This object has some properties and methods that can be used with syntax:

navigator.property_name
navigator.methodName()

Properties and Methods of navigator object


- Many of the navigator object methods have been deprecated in the newer JS version, or are not standard.
A method of the navigator object is:

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;
navigator object

Last accessed pages

  1. Display UL bullets and OL numbers on the right side (3255)
  2. Insert, Select and Update NULL value in MySQL (50171)
  3. Node.js Move and Copy Directory (7234)
  4. JavaScript code and PHP (28186)
  5. Node.js Move and Copy file (17028)

Popular pages this month

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