We can move an image to left or right in html.It is possible by using FLOAT property in css.
Things to do
To left
If we want to move image to left we write float then we put coln and then we write left and then we put semi-coln.
By doing following things image will float to left.
IT LOOKS LIKE-
{
float:left;
}
To Right
If we want to move image to right we write float then we put coln and then we write right and then we put semi-coln.
By doing following things image will float to right.
IT LOOKS LIKE-
{
float:right;
}
Things to do
To left
If we want to move image to left we write float then we put coln and then we write left and then we put semi-coln.
By doing following things image will float to left.
IT LOOKS LIKE-
{
float:left;
}
To Right
If we want to move image to right we write float then we put coln and then we write right and then we put semi-coln.
By doing following things image will float to right.
IT LOOKS LIKE-
{
float:right;
}
No comments:
Post a Comment