Tutorial : A full HTML page with an animated background and audio from YouTube.



A full HTML page

+animated background.

+audio from YouTube.

Source code :

Steps :

  • Found a gif, in this case : giphy.com/gifs/art-pixel-city-NKEt9elQ5cR68
  • Found a YoutTube audio loop, in this case : youtube.com/embed/ArCqlpGVcIs
  • Copy the content of the html in an index.html

Final result :