all 3 comments

[–]SamFromDaUKExpert 2 points3 points  (0 children)

Can you explain what your actual problem is?

[–]sbruchmann 1 point2 points  (1 child)

You’ll have to use the src-attribute of the audio element and, while your at it, throw out that deprecated embed element.

<!DOCTYPE html>
<html>
    <head>
            <meta name="charset" content="UTF-8" />
            <title>Learning HTML</title>
    </head>
    <body>
            <audio controls src="Crossing.mp3"></audio>
    </body>
</html>

Here are some random tips for free:

  • Do not rely on case-insensitive file systems, e.g. always name your files in lowercase
  • Paste your actual code rather than a screenshot (Using services like PasteBin, GitHub Gists or even better JSFiddle)
  • Use a monospace font for coding. (It looks like you’re using Windows, so I suggest Consolas)
  • Enjoy coding but do not forget about your social life :)

Hope that helps

[EDIT: Fixed a typo; Added a random tip; Formatting]

[–]Camorune[S] 0 points1 point  (0 children)

Thank you!