summaryrefslogtreecommitdiff
path: root/examples/declarative/webview/inline-html.qml
blob: 41dfec3d63cfaa051a19a63ab73b4461016d3a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.6
import org.webkit 1.0

// Inline HTML with loose formatting can be
// set on the html property.
WebView {
    html:"\
        <body bgcolor=white>\
        <table border=1>\
            <tr><th><th>One<th>Two<th>Three\
            <tr><th>1<td>X<td>1<td>X\
            <tr><th>2<td>0<td>X<td>0\
            <tr><th>3<td>X<td>1<td>X\
        </table>"
}