Does the width and height of inline images increase page performance?
<img id="moon" height="200" width="450" src="http://www.domain.com/moon.png" alt="moon image" />
Compare with this
<img id="moon" src="http://www.domain.com/moon.png" alt="moon image" />
I don’t think that this will speed up the page loading, but it will help to display the page correctly, because the browser knows the image sizes for the correct page layout before it should receive the image
. , . , . , .
, . . .
Source: https://habr.com/ru/post/1743596/More articles:С# - Проверить значение bool и затем перевернуть его - c#Python dictionary formatting - pythonLZMA for Delphi - algorithmКак перебирать измененные значения std:: map? - c++Doctesting functions that accept and display user input - Python (tearing my hair off) - pythonJQUERY Highlight effect, color control Start & End - jqueryЯвляются ли фрагменты хешей стойкими к столкновению? - algorithmHow to enter the salesforce.com test environment? - ruby-on-railsЛокализация как запоздалая мысль? - phpEmacs shell output buffer height - pythonAll Articles