+ 4
PLESAE WHAT IS THE DIFFERENCE BETWEEN FLOAT AND ALIGN
html
2 Réponses
+ 5
Float allows other HTML elements to flow around the floating element. Align simply shifts an element to the left or right.
+ 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).