HTML

HTMLFunctionalScript DSL
<br>['br']
<img src="https://example.com/image.jpg">['img',{src:'https://example.com/image.jpg'}]
<a href="https://example.com/">Example</a>['a',{href:'https://example.com/'}, 'Example']
<ul><li>Apple</li><li>Tomato</li></ul>['ul',['li','Apple'],['li','Tomato']]

Example

<html lang="en">
    <head>
        <title>Page</title>
    </head>
    <body>
        <a href="https://example.com/">Example</a>
    </body>
</html>
['html', { lang: 'en' },
    ['head',
        ['title', 'Page']
    ]
    ['body',
        ['a', { href: 'https://example.com/' }, 'Example']
    ]
]

Emergent Testing

Idle. Press Run to start the suite.

  • ./proof.f.mjs