0
what is the difference between float and text-align ?
2 Answers
+ 2
Please always tag the language you're asking about.
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 5
Assuming this is about web styling, and that you know the use of both properties...
The difference is that text-align only affects positioning of the element's text content, while float has a much larger positioning affect scope (the sorrounding elements).
more info is on w3schools