[JavaScript, HTML] 소리를 넣어보자: <audio></audio>


[JavaScript, HTML] 소리를 넣어보자: <audio></audio>

방법1) HTML에 tag를 추가하고, src="file 위치 또는 file명"을 입력한다. [MDN] Attributes autoplay A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading. controls If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and paus..


원문링크 : [JavaScript, HTML] 소리를 넣어보자: <audio></audio>