HTML: Image margin

This entry is part 33 of 34 in the series HTML

If we find the text to be too close to the image, we can set a margin to the the image.

Here we set a right margin of 10px to the image.

<!DOCTYPE html>
<head lang='en'>     
    <meta charset='UTF-8'>

<img src='//' style='float: left; margin-right: 10px'>
<h3>Welcome to Ushuaia!</h3>


Series Navigation<< HTML: Controlling image size
HTML: Creating graphical hyperlink >>