Website Developer Question:
Explain me what Is The Use Of Float Property In CSS?
Answer:
With the help of float property, we can control the position and layout of elements on a web page.
For example, it can define the placement of a <div> either to the right or left side.
Also, to note that it doesn’t interfere with the elements appearing before.
div {
float: left;
}
For example, it can define the placement of a <div> either to the right or left side.
Also, to note that it doesn’t interfere with the elements appearing before.
div {
float: left;
}
Previous Question | Next Question |
Tell us what Types Of Comments Does JavaScript Support? | Do you know what Is Grouping In CSS3? |