Forum Moderators: mack
They are not mandatory, but keb_b is right, they help the page load quicker. Some html checkers will error if you check your pages without the height and width attributes.
Besides loading faster, there is no other advantage as far as I know. I have many sites that hax\ve none of these tags and some that are left out intentionally (ie. images from a database call that have different heights and widths)
I hope this answers your question.
One other advantage, that I can see, is that the rest of the page will not jump about as the images begin to load. That is to say, specifying width and height will determine the page layout at the outset of page loading as opposed to during the load process.
And that is a *huge* interface/appearance issue IMO - few things look worse or detract from initial impressions for me, it tells you straight away that it was built by a novice.
Yes I did get caught by this in the past! <G>
Matt