document.write() is a standard JavaScript method that outputs text directly to the HTML document stream when the page is loading. Option B is merely a string value that doesn't produce output, option C uses the ASP response object (not JavaScript), and option D is just a parenthesized string with no output mechanism.