Make text appear above background in HTML + CSS -


hi first webpage i've made , i'm trying display gif backrgound , make text appear above that.. works fine except can't seem display text above gif background.. can see in source code have 1 heading , 3 paragraphs, knows how fix this?

<!doctype html>  <html>      <head>  <link rel="icon" href="http://www.iconarchive.com/download/i91751/icons8/windows-8/systems-linux.ico" type="image/x-icon"/>      <title>firstwebpage</title>        <style>  body{ /* use gif background */  	background-image: url('http://images.eurogamer.net/2015/articles/1/8/7/1/5/3/2/san-francisco-subway-system-hacked-passengers-get-free-rides-148033947612.gif');  	background-position: relative;  	background-size: cover;      }          </style>      <audio autoplay loop>      <source src="seffelinie.mp3" type="audio/mp3">        </head>  <body>      <div align="center" id="text">      <h1>first webpage</h1>      <p>html</p>      <p>+</p>      <p>css</p>      </div>	  </body>  </html>

the audio tag on top of text guess, replace this:

<audio autoplay loop>      <source src="seffelinie.mp3" type="audio/mp3">  </audio> 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -