--- nav-title: "WebView How-To" title: "web-view" environment: nativescript description: "Examples for using WebView" previous_url: /ApiReference/ui/web-view/HOW-TO --- # WebView Using a WebView requires the web-view module. {%snippet webview-require%} ### Declaring a WebView. {%snippet declare-webview-xml%} ### Creating a WebView {%snippet declare-webview%} ### Using WebView with remote URL {%snippet webview-url%} ### Using WebView with local file {%snippet webview-localfile%} ### Using WebView with raw HTML {%snippet webview-string%}