I have a basic HTML file I made. I am trying to get the image to align to the center. I think I did it just as W3C says, but its not working. When I view the page, right align works, but middle and left both align to the left. I don't understand why.
I don't know what I'm doing wrong.HTML Code:<html> <head> <title>My Website</title> </head> <body> <img src="images/myimage.png" style="float: middle;" alt="logo" height="50" width="394" /> <p style="text-align: center;">The website is currently being designed. Please check back later!</p> <p style="text-align: center; font-size: x-small;">Copyright © 2009 mywebsite.org<br />All Rights Reserved.</p> </body> </html>![]()







Bookmarks