External CSS vs inline style performance difference?
The performance boost that your friend mentioned is probably too trivial compared to the amount of performance boost (through other factors) using a CSS file. Using the style attribute, the browser only paints the rule for that particular element, which in this case is the <div> element. This reduces the amount of look up time … Read more