uwp – WebView navigation – Navigate to string

Show specified html string in WebView:

var htmlString = 
    @"<!DOCTYPE html>
      <html>
          <head><title>HTML document</title></head>
          <body>
              <p>This is simple HTML content.</p>
          </body>
      </html>";

this.webView.NavigateToString(htmlString);

if you want to reproduce, please indicate the source:
uwp – WebView navigation – Navigate to string - CodeDay