Chapter 6. HTML optimization tips

This chapter covers

  • Positioning CSS and JavaScript in a web page for best performance
  • How CSS and JavaScript placement affects rendering
  • The impact of duplicate scripts
  • HTML5 optimization techniques

This chapter contains a collection of HTML best practices and tips that will improve the performance of your website. Some tips may seem like small changes, but they’ll go a long way toward improving the overall load time and responsiveness of your website. We’ll cover the optimal position in the HTML to place CSS and JavaScript, as well as the order in which they should appear.

You’ll learn a few HTML5 techniques and how you can apply these techniques to your application to achieve quicker load times. This ...

Get Fast ASP.NET Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.