According to W3C <img> is a inline element. But it doesn’t follow all designing rules of inline elements. You cannot set height and width of inline elements but you can set height and width of <img>. <img> element’s design depends on aspect ratio, parent block container, dimensions, height and width. <img> is inline or block […]
Most Commented