HTML and CSS Reference
for Front-End Developers” ( rmurphey.com/blog/2012/04/12/a-baseline-for-front-end-developers ). She outlines
the importance of building, testing, and process automation; these are things that every developer can relate to.
■ the dOM tree is the markup of elements in the document. For more information on the dOM tree, visit
version. The minified version should be used in campaign production environments; it reduces the code to a single
code block with less k-weight than the archived version by removing line breaks and white space and by replacing
verbose names with single letter references. The archived version should always be your wordy, cleanly legible code
base—that is, something you can go back to in a couple years and quickly understand it to make updates.
Minifying code is especially useful when it's being deployed to mobile devices and tablets that could be on 3G
it allows you to view code in a much more formatted and digestible way. An example would be jQuery's library minified
async is used when script files are to be loaded in parallel and asynchronous to the other scripts loading on the
page. These are scripts that have no dependency on the rest of the page content. This is especially useful in helping
load a page more quickly or when an external script is not responding. Having the script load with async allows the
page to render yet not be held up trying to execute a script that has failed. The main takeaway with async is avoiding
parser block—the situation where the document stops rendering until script files are done. This usually results in
no elements being rendered to the screen because most script files are added to the head of the document and the
of the publisher's page until after all your ad content comes down. To get a better understanding on this feel free to
check out some of the examples from The Deck and BuySellAds.com ( css-tricks.com/thinking-async ) . Listing 3-4
outlines the use of async in an ad call.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">