html performance issue attributes vs css -
this question has answer here:
in html, faster in terms of performance , page render time?
1) using tag attributes tags (like adding border, valign, width, height tables)
2) using css define them
thanks.
given tag attributes defining layout deprecated , considered bad coding practice, it's pretty bet browser vendors focusing resources on making css perform better, , not putting effort @ making tag attributes better.
in addition, if have layout defined in separate css file html, benefit performance benefits on inline styles or tag attributes when loading multiple pages, since css file can cached browser , doesn't need downloaded multiple times.
Comments
Post a Comment