If will i will not used float what will i used in positioning?

Hello everyone

I am very a beginer in html and css. i have hard time understanding in html and css
My question is. is there is other alternative besides floats ?

I hope you can help me understand positioning and floats

thank you

Flexbox might be something worth investigating.

Also there’s a library named bootstrap which offers a grid system for positioning stuff.