I have added two gifs in my code and I am trying to add text on top of it, but it ends up being on top or the bottom of the gif. How can I add something on top of a gif?
I've tried adding text and positioning it on top of the gif using relative position and absolute but that does'nt work.
HTML:
<! DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="taniaWebsite11.css" type="text/css" rel="stylesheet">
<title> </title>
</head>
<body class="mainpage12">
<center>
<img src="giphy1.gif">
<img src="1.gif">
</center>
</body>
</html>
CSS:
img{
height:1000px;
width:1000px;
}
body.mainpage12{
background-color:black;
}