General HTML/Web Design Programming Q`s/Text Wrap


I found this code on the Internet to get Text to Wrap arount an Image
<img aling="Left" src=”Robert.jpg”>

It does not Wrap Text or even show Text or even show Image.

I then try
<img src=”Robert.jpg” float:Right;'>

This wont work and wont even show Text or image.

And the Image is in the same Folder as the HTML file.

How should I type this coad?


Hello Bob,

You have a spelling error in your code (aling instead of align)
You write left with a capital L.
Check that your image name is Robert with a capital R.

Here is what I would try first.

give your photo a class with float:left;and a margin.
Give your div or content an ID with the same float:left;and margin.

The CSS code would be like:

#page #content .photo {
  margin:0 20px 20px 0;

You can add a title on top of your photo by writing a h2 /H2 before de photo code

Play with that and see if it works for you. It does for me.


General HTML/Web Design Programming Q`s

All Answers

Answers by Expert:

Ask Experts


Gaston Michel Côté


Anything related to web design, gamification, color psychology, and ELearning. Codes: HTML5, CSS3.


Three years as a web consultant and designer


College Education Certificate in Multimedia Productions

©2017 All rights reserved.