+ 1

How can i insert files?

How can i use url of an image? How can i add other files like audio and video in my code ?

3rd Aug 2025, 10:16 AM
Hailemariam
Hailemariam - avatar
2 ответов
+ 1
You can use the <video> tag to embed a video. <video src="https://example.com/movie.mp4" controls width="320" height="240"> </video> Audio tag: <audio src="https://example.com/audio.mp3" controls></audio> Img tag: <img src="https://example.com/photo.jpg"> Use the following file extensions: Audio: .mp3 Video: .mp4 Image: .jpg or .png Src attribute indicates the source of the file. Controls makes elements visible.
3rd Aug 2025, 11:27 AM
Mila
Mila - avatar
+ 1
you have to upload your file to a repository that will host and provide accessible url for it . You can't directly link to files in your device. While you might be able to access it locally in your code, other people can't.
3rd Aug 2025, 12:09 PM
Bob_Li
Bob_Li - avatar