loading large images often causes that annoying jumpy behavior when the page renders. you can stop this by adding a width and height attribute directly to your
<img>
tag. browsers use these dimensions to calculate the aspect ratio before the file actually downloads.
>always include the height propertythis creates a placeholder space so the text doesn't
suddenly move jump around. it is much better than relying on CSS alone because [
the browser needs the intrinsic ratio before the stylesheet is fully parsed ]. adding aspect-ratio: 16 / 9; to your CSS is a great fallback for modern browsers. this simple fix makes the page feel
much smoother during initial loading.