# Browser Mode > [HTML Version](browsermodextext.htm) XTEXT may be used as a very simple web browser, by specifying the TXFF\_HTML flag in the [TXC.DOCFMT'SRC](txc_docfmt-src.htm.md) field and setting the TXF\_READONLY flag. The usual source type options apply (TXFF\_STRING and TXFF\_FILE), except that in the TXFF\_FILE case, the filespec can also be a web-based URL. For web-based HTML documents and forms, the destination ([TXC.DOCFMT'DST](txc_docfmt-dst.htm.md)) must be a string/buffer. In the case of a form, if the user clicks the SUBMIT button, XTEXT returns with exitcode=30 and the action, method, and data fields are output to the dst parameter in the following format: \&url=