How to load html content to a webview component ( cocos creator 3.7.x )?

Hello,
I’m using cocos creator 3.7.x, And I want to load html content to a webview component. Does webview support support it ?

Example html content:

<html>
    <head></head>
    <body>Hello the world</body>
</html>

Thank you

The webview component only accepts URL, so you can’t give it a string html content

1 Like

Thank you for your answer!