Javascript Course

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. PhpSpreadsheet - Read, Write Excel and LibreOffice Calc files (24918)
  2. PHP Code Snippets (7749)
  3. Read Excel file data in PHP - PhpExcelReader (93687)
  4. JavaScript trim, rtrim and ltrim (11956)
  5. SHA1 Encrypt data in JavaScript (31657)

Popular pages this month

  1. PHP Unzipper - Extract Zip, Rar Archives (807)
  2. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (565)
  3. SHA1 Encrypt data in JavaScript (433)
  4. Create simple Website with PHP (398)
  5. Read Excel file data in PHP - PhpExcelReader (392)