I am writing inline css to give height and width of table column,but the image doesn't fit in that box of table,it takes size according to the actual image size ,how to fit image in that box of height and width


    	        <td style="border:1px solid blue;height:200px; width:200px;"><img src="https://shechive.files.wordpress.com/2012/06/cute-cartoons-21.jpg?quality=94&strip=info&w=500" /></a></td>

    	        <td style="border:1px solid blue;height:200px; width:200px;"><img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcROJSKgCqEHEEk6JuYa-K8900vjHD8uKLTvXwOnBniE0Qd_IftI" /></a> </td>




Not all your code is visible, well, you can simple at a style attribute to the image:

<img src="#" style="height: 200xp; width: 200px;">

why do you use the style attribute for this? You can do this so much easier in a internal/external stylesheet. Using the style attribute for this, is bad practice


Thank You,,It works:blue_heart:


@codeslayer20329 Is this part of a course exercise?