Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
HTML DOM source object
The HTML DOM source object is associated with the HTML
Syntax
Following is the syntax for ?
Creating a source object ?
var p= document.createElement("SOURCE");
Example
Let us look at an example for the source object ?
Source object example
Add a audio source for the above element by clicking the below element.
Output
This will produce the following output ?

On clicking the CREATE button ?
Click "CREATE" ?

Advertisements
