I've been struggling to resize images on my webpage. No matter how many times I change the attributes in the image tag, the image always shows up at its original size.
For example, I tried this:
<img src="url" alt="some text" style="width:40px;height:40px">
And also attempted this:
<img src="url"; alt="some text"; style="width:40px";"height:40px">
But no matter what I try, the image remains full-sized. It's quite frustrating as the image is stored locally in the same folder as the .html file.
Additionally, I'm seeking clarity on the "background-color:#FFFFFF" attribute. Sometimes it doesn't seem to work properly and the background appears blank even with correct syntax. Are there any specific considerations I should keep in mind before using it?
Any guidance would be greatly appreciated. Thank you!