Using Chrome Version 109.0.5414.120 (Official Build) (32-bit) because it is the last version for Windows 7 (I believe).
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Vagamond Detective From The Wild West</TITLE>
<H3>Vagamond Detective From The Wild West</H3>
</HEAD>
<BODY>
<audio src="1-33. Jake Marshall ~ Vagamond Detective From The Wild West.flac", controls=pause, play>
<img src="Jake Marshall.png", alt="Jake Marshall">
</BODY>
</HTML>
When I inspect I see no issues. All files are in the same folder, including the HTML file, so there is nothing wrong with the path.
Expected image to load. It didn’t.
3
Answers
After debugging your code I found out your audio tag is not closed.
Also the controls attribute was incorrect.
Try this:
I noticed a couple of issues in your
code
.<h3>
inside<head>
, which is wrong.<audio>
element.src
value.controls
does not take parametersYou wrote
element
names in all capital<HTML>
,<BODY>
etc. Try using all lowercase to reduce mistake chances<html>
,<body>
. Also rename the files and remove spaces. Try using single name and if it is necessary to use multiple words then usecamelCase
orunderscore
‘_’.Here is the updated
code
:I have analyzed your code and have some advice:
<h3>
in the section.</audio>
<img src="image/you_file_name.jpg" />
A more correct spelling would look like this: