- #1
Sam Groves
- 11
- 0
Hi.I am building up a site for Norway.So far I have this code:
But every time I simulate the website on a browser the audio element is inactive.Why?
HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Norway's Home Page</title>
</head>
<body>
<p style="font-size:18;font-family:Verdana">
Norway (Bokmål: Norge, Nynorsk: Noreg), formally the Kingdom of Norway is a Nordic country in Northern Europe, situated on the Scandinavian Peninsula. The remote Arctic island of Jan Mayen and the archipelago of Svalbard also form part of Norway. Bouvet Island, located in the Subantarctic, is a dependency; Norway also claims the Antarctic territories of Peter I Island and Queen Maud Land. The capital and largest city in Norway is Oslo.
</p>
<p style="font-size:18;font-family:Verdana">
Norway's flag
</p>
<p>
<img src="Flag_of_Norway.png" width="512" height="256">
</p>
<p style="font-size:18;font-family:Verdana">
Norway's national anthem
</p>
<p>
<audio controls>
<source src="url(https://commons.wikimedia.org/wiki/File:Norway_(National_Anthem).ogg)" type="audio/ogg"> </audio>
</p></body>
</html>
But every time I simulate the website on a browser the audio element is inactive.Why?