gawo2025-ws-json-html
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"head": {
|
||||
"title": "Box Example",
|
||||
"styles": ".box { border: 2px solid black; padding-top: 20px; margin: 20px; }\n .button {padding: 100px; background-color: red}"
|
||||
},
|
||||
"body": {
|
||||
"content": [
|
||||
{
|
||||
"element": "div",
|
||||
"attributes": {
|
||||
"class": "box"
|
||||
},
|
||||
"value": "This is a simple outlined box with some text inside."
|
||||
|
||||
},
|
||||
{
|
||||
"element": "a",
|
||||
"attributes": {"href": "output.html", "class": "button"},
|
||||
"value": "Press me"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user