In webview docs we find this: // Navigates webview to the given URL. URL may be a properly encoded data URI. // Examples: // webview_navigate(w, "https://github.com/webview/webview"); // webview_navigate(w, "data:text/html,%3Ch1%3EHello%3C%2Fh1%3E"); ...