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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -