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

Last accessed pages

  1. Insert, Select and Update NULL value in MySQL (30263)
  2. XML sitemap with data from MySQL (2513)
  3. Simple PHP Upload Script (5929)
  4. PHP PDO - Select query, fetch (21001)
  5. Website Mini-Traffic and Pages Access data (1598)

Popular pages this month

  1. Insert, Select and Update NULL value in MySQL (559)
  2. Read Excel file data in PHP - PhpExcelReader (468)
  3. PhpSpreadsheet - Read, Write Excel and LibreOffice Calc files (344)
  4. PHP getElementById and getElementsByTagName (267)
  5. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (254)