document.write() is the correct JavaScript method to output text content to the HTML document. Option A is incomplete with a syntax error (missing opening quote), Option C uses ASP syntax (response.write), and Option D is just a string in parentheses without any command.