Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 17, 2014 01:57 am GMT

Async Attribute and Scripts At The Bottom

A reader recently wrote in and (essentially) asked me:

Is there any reason to use the async attribute when the script is already at the bottom of the page?

I'm not a master at this stuff, but this is how I understand it...

What he was talking about was this:

<script async src="/js/script.js"></script>

</body>

We've covered this before a bit. It's extra-interesting to re-visit now though, because the async attribute is now really the only recommended way to be doing …


Async Attribute and Scripts At The Bottom is a post from CSS-Tricks


Original Link: http://css-tricks.com/async-attribute-scripts-bottom/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks