HTML++

The version of HTML that WebX uses.
This is different from HTML5 and has less features.

Elements

Example

<html>
  <head>
    <title>My WebX+ Site</title>
    <link href=".../favicon.png">

    <meta name="description" content="My extremely cool site.">
    <meta name="theme-color" content="#000000">

    <link href="styles.css">
    <script src="script.lua">
  </head>
  <body>
    <h1>My site</h1>
    <p>Im very cool</p>
  </body>
</html>

Unlike HTML5, HTML++:

  • doesn’t have a <!DOCTYPE html>
  • doesn’t have a rel attribute for link, the first link will be the favicon unless its a CSS 3.25 file, the rest will just be treated as CSS 3.25.
  • scripts are self-closing, are written in lua and they can only point to code on another file.

Other:

  • the meta elements provide info for search engines