diff options
Diffstat (limited to 'examples/declarative/webview/inline-xhtml.qml')
-rw-r--r-- | examples/declarative/webview/inline-xhtml.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/declarative/webview/inline-xhtml.qml b/examples/declarative/webview/inline-xhtml.qml new file mode 100644 index 0000000..4acb417 --- /dev/null +++ b/examples/declarative/webview/inline-xhtml.qml @@ -0,0 +1,14 @@ +<!-- Inline xHTML (with strict XML formatting) can be + set on the html property by giving it the appropriate namespace. --> +<WebView> + <html xmlns="http://www.w3.org/1999/xhtml"> + <body bgcolor="white"> + <table border="1"> + <tr><th></th><th>One</th><th>Two</th><th>Three</th></tr> + <tr><th>1</th><td>X</td><td>1</td><td>X</td></tr> + <tr><th>2</th><td>0</td><td>X</td><td>0</td></tr> + <tr><th>3</th><td>X</td><td>1</td><td>X</td></tr> + </table> + </body> + </html> +</WebView> |