help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

help me

How can I complete this with semantic tags? <body dir="rtl"> <> <h1>media</h1> </> <> <> <h2>movies</h2> <> <> <h3>first movie</h3> <!- - Video Tag - -> </> </> <> <> <h3>second movie</h3> <!- - Video Tag - -> </> </> </> <> <h2>musics</h2> <> <> <h3>first music</h3> <!- - Audio Tag - -> </> </> <> <> <h3>second music</h3> <!- - Audio Tag - -> </> </> </> </> <> <p>copywrite.</p> </> </body> what's wrong ? I have this errors: Videos and audios part structure should be correct <body dir="rtl"> <header> <h1>media</h1> </header> <main> <section> <h2>movies</h2> <article> <h3>first movie</h3> <video controls> <source src="assets/videos/video_1.mp4" type="video/mp4"> </video> </article> <article> <h3>second movie</h3> <video controls> <source src="assets/videos/video_2.webm" type="video/webm"> </video> </article> </section> <section> <h2>musics</h2> <article> <h3>first music</h3> <audio controls> <source src="assets/audios/audio_1.mp3" type="audio/mpeg"> </audio> </article> <article> <h3>second music</h3> <audio controls> <source src="assets/audios/audio_2.mp3" type="audio/mpeg"> </audio> </article> </section> </main> <footer> <p>copywrite.</p> </footer> </body> </html>

16th Mar 2024, 10:18 AM
Simin Zare
Simin Zare - avatar
13 Answers
+ 2
but the path is correct.
16th Mar 2024, 6:07 PM
Simin Zare
Simin Zare - avatar
+ 2
give relative path of your media type dot then slash your directory <body dir="rtl"> <header> <h1>media</h1> </header> <main> <section> <h2>movies</h2> <article> <h3>first movie</h3> </video> </article> </section> <section> <h2>musics</h2> <article> <h3>first music</h3> <audio controls> <source src= "http://www.sololearn.com/uploads/audio.mp3" type="audio/mpeg"> </audio> </article> <article> <h3>second music</h3> <audio controls> <source src="http://www.sololearn.com/uploads/audio.mp3" type="audio/mpeg"> </audio> </article> </section> </main> </body>
16th Mar 2024, 6:40 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
I have an error for the structure of video and audio tags 🇮🇱 Radin Masiha 🇮🇱
18th Mar 2024, 12:22 PM
Simin Zare
Simin Zare - avatar
+ 2
No Jimi
18th Mar 2024, 12:22 PM
Simin Zare
Simin Zare - avatar
+ 2
Mohammed Osman, pls create your own question thread if you need help.
31st Mar 2024, 6:00 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar
+ 1
The error is related to the video and audio structure, I don't know what's wrong
16th Mar 2024, 6:30 PM
Simin Zare
Simin Zare - avatar
+ 1
What is the error? Can you explain
17th Mar 2024, 4:37 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar
+ 1
src= is missing on first music
18th Mar 2024, 2:42 AM
Jimi
Jimi - avatar
+ 1
Simin Zare, as Jimi said, the "src=" was missing, but I guess Jiya edited her answer for you. Try the code again and if it still doesn't work "Insert+" your code here and explain what's your error.
19th Mar 2024, 3:05 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar
0
what issue you facing is your audio and videos exist in project directory give correct path of your media files
16th Mar 2024, 3:12 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
might be issue in audio files
16th Mar 2024, 6:13 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Yeah don't worry
18th Mar 2024, 12:47 AM
Usama Khan
Usama Khan - avatar
0
Can you help me
31st Mar 2024, 3:16 PM
Mohammed Osman