src (bgSound)
all
alt
ch
dir
id
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

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:
© 2017 Microsoft