0
I’m doing an exercise here, but I’m not able to load the image img/baladinha.jpg
. Note: I haven’t put images on the body
Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> JavaScript CinemaBaladinha</title>
<style>
div {
margin:0 auto; width:940px; text-align:center;
}
#topo {
background:url(img/baladinha.jpg) no-repeat;
}
</style>
<script type = "text/javascript" src = "js/CinemaBaladinha.js"> </script>
</head>
<body>
<div id = "topo"/>
<div>
<img />
<img />
<img />
</div>
</body>
</html>