+ 4

PLESAE WHAT IS THE DIFFERENCE BETWEEN FLOAT AND ALIGN

html

25th Nov 2016, 8:14 AM
Ntiamoah
Ntiamoah - avatar
2 Respostas
+ 5
Float allows other HTML elements to flow around the floating element. Align simply shifts an element to the left or right.
20th Apr 2017, 4:55 AM
Scott
+ 1
Align - You use align to align text and other items rather it be left, right, centered, or justified. Align DOES NOT remove the item from the document flow. Float - Floats an object to the left or right and REMOVES it from the document flow. (i.e. A thumbnail image with paragraph text flowing around it -- you will usually need to set some margins on the image so it looks right).
25th Nov 2016, 10:33 AM
Baraa AB
Baraa AB - avatar