When someone is shrinking the page, my pictures don't shrink with it. How can I make those pictures get smaller as the window gets smaller?

As a beginner, I'm not quite sure what to do here. But I listed some code below and I hope someone can help me.

```
<center>
<table>
<tr>
<td><a href="./krunker.html">
<img src="./krunker.jpg" alt="Krunker.io" height="500" width="1000" />
</a></td>
<td><a href="./bforce.html">
<img src="./bforce.jpeg" alt="Bullet Force" height="500" width="1000" />
</a></td>
</tr>
</center>

```

I was hoping that when I shrink the page, the photos will too, but they won't. What should I do?