src attribute | src property

Sets or gets the URL of a sound to play.

Syntax

HTML<element src="p" ... >
JavaScript

p = object.src

 

Property values

Type: String

the URL of the sound.

Standards information

See also

bgSound

 

 

Show: