image taking spaces in html code example Example: a tag displays below img tag img { display: block; }