How to float one image one way and another the other way?

A student wants to float one image to the left and the other to the right. He removes the float rule set from the style sheet and puts float code in the html tags for each image but doesn’t work. Any ideas?

@GordonBrune ,

They could accomplish that by using classes in their html document and then styling the classes on the css page, however, if you use the inline styling like they are trying to do, they would remove the float from the css page first. Then, float isn’t an html attribute, so in the html, they would have to do something like this using a style attribute.

<img src="Yankeestwo.png" alt="Image description" width="150" height="150" style="float:left">

Good luck!