How to fit image in table cell in HTML

Today, you are going to learn how to fit image in table cell using pure HTML.

When we try to add an image in table cell, The image doesn't fit to the table cell.

So, in this article we will try to fit an image to <td> element using html attributes.

Fit an image to table cell in HTML.

Demo
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tincidunt sem et risus lacinia eleifend. Ut non suscipit magna. Quisque vel tincidunt tortor. Suspendisse libero elit, pulvinar sodales dolor at, fringilla rhoncus turpis.