positioning an image on an HTML page

4130 views html
5

Total noob to HTML, So this is probably a really simple solution.

I'm trying to place a gif image at the center and bottom of a web page. Of course this doesn't happen.

<img src="http://bglradio.net/sam/Web-Images/dancing-girl-6.gif" alt="Dancing Girl" width="160" height="250">

What (If anything) do I need to add to this line to place the image anywhere along its line?

Thanks in advance Steve

answered question

I would suggest researching CSS and how it can help with styling your HTML.

Btw. I have researched as much as possible. but I still cant find it.

1 Answer

9

add class to the image to call it through some css like here 

<!DOCTYPE html>
<html>
<head>
<style>

.dancing {
position: absolute;
right: 0px;
bottom: 0px;

}
</style>
</head>
<body><img class="dancing" src="http://bglradio.net/sam/Web-Images/dancing-girl-6.gif" alt="Dancing Girl" width="160" height="250" align="bottom"  >

</body>

</html>

posted this

Have an answer?

JD

Please login first before posting an answer.