What is the tag that i used to position the image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the tag that i used to position the image

Position tag

2nd Oct 2021, 9:22 AM
Yogesh Waran
Yogesh Waran - avatar
7 Answers
+ 2
It depends on how you want to position the image. There are some tags that are used for positioning, covered in the html course, but as Erlénio.RS mentioned if you really want simple and efficient positioning, use CSS
2nd Oct 2021, 9:58 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Yogesh Waran , its really quite hard😂 It involves making an invisible table for the full size of the page, making rows and columns of required sizes to fit your elements and finally placing elements in correct rows and columns to move your elements around... Trust me CSS is way easier and more efficient... Lmao I had no idea you would actually consider doing that....
2nd Oct 2021, 11:03 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
there is no tag to position an image, this is done through css using the position, left right top bottom transform, etc. properties. See the css course here on sololearn
2nd Oct 2021, 9:30 AM
Erlénio.RS
Erlénio.RS - avatar
+ 1
<img align="value" src="Path/URL"> Aleksei Radchenkov I had forgotten about that
2nd Oct 2021, 10:04 AM
Erlénio.RS
Erlénio.RS - avatar
+ 1
Erlénio.RS well that too, attributes could be used, but there are also things like <center> and similar positioning tags. Additionally you could position using a huge table, that's a little weird and maybe hard, but there were people who made entire websites using only tables to position elements...
2nd Oct 2021, 10:08 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
Aleksei Radchenkov Thanks, I didn't even know that. I will find out more
2nd Oct 2021, 10:12 AM
Erlénio.RS
Erlénio.RS - avatar
0
Thanks brother But please explain how can I use table to positioning
2nd Oct 2021, 10:42 AM
Yogesh Waran
Yogesh Waran - avatar