I keep my width in numerical form because the % might confuse beginners.
But numerical (pixels) does not guarantee the image will fit on all screens. Using % does.
Regarding beginners, they probably won’t see your code unless they use Ctrl/U to look at the HTML source.