asp.net.ph

Skip Navigation Links

write Method

DHTML Methods


Writes a string of text to the document stream.

Syntax

document.write ( "sText" ) 
Parameters

sText Required. String specifying the text and/or HTML tags to be parsed into the document structure.

Return Value

No return value.

Remarks

This method writes one or more HTML expressions to a document in the specified window. The text is parsed into the document's structure model.

Note that document.write in intrinsic event handlers create and write to a new document rather than modifying the current one.

Applies To

document



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note