Need Help In HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Need Help In HTML

Yo Guys Im Trying To Keep My Linked Image in center but I Cant. What Code Should I Run To Keep My Img In Center Of The Page? (center of Width)

11th Jun 2019, 1:22 PM
გიო რგი
გიო რგი - avatar
6 Answers
11th Jun 2019, 1:39 PM
Giorgos Mariettakis
Giorgos Mariettakis - avatar
+ 2
https://www.sololearn.com/discuss/1839506/?ref=app Plz answer my question
11th Jun 2019, 1:51 PM
Dead Shadow
Dead Shadow - avatar
+ 1
Use <centre> tag for keeping the image in center
11th Jun 2019, 1:40 PM
Dead Shadow
Dead Shadow - avatar
+ 1
but show me example. I Need example in context
11th Jun 2019, 1:41 PM
გიო რგი
გიო რგი - avatar
+ 1
<center> tag is right it will work
11th Jun 2019, 1:44 PM
Dead Shadow
Dead Shadow - avatar
+ 1
Use this code of mine to play around... <html> <head><title>Home_Page</title></head> <body bg color="black"> <center><img src="C:\Users\MokhatGM\Desktop\hello.jpg" width="200 height="200"></center> </body> <html>
11th Jun 2019, 1:47 PM
Moeketsi Mokhatla
Moeketsi Mokhatla - avatar