HTML Improvements for applications

Hello, I would like to suggest some improvements in HTML to improve its
capabilities to create applications:

- Input elements for different types of numbers with min and max
values: 16 bits integer, 32 bits integer, 32 bits float and 64 bits
float.

- Input elements for images, audios and videos with preview.

- Timezone input element.

- Boolean input element with "true" and "false" values.

- Null value in file inputs.

- Clear button in file inputs like in date and time inputs.

- Show size in file inputs.

- Extension of the DOM API with high level and chainable methods.

    Example: paragraph.appendElement("a").setAttribute("href",
"/article");

- Change of the "action" parameter of the forms to "target" to indicate
the URL where to execute the action. The "action" parameter is moved to
the different buttons on the form and allows executing a different
action with each of the the buttons.

    Example:

        <form target="/article">
            <button action="delete">Delete</button>
            <button action="export">Export</button>
        </form>

- "select" elements that change a parameter of the current URL.

    Example:
        <select url-parameter="lang"/>
            <option>en</option>
            <option>es</option>

        URL = https://demo.nexttypes.com/?lang=en

- "content-type" attribute in links and context menu in the browser to
open links with external applications using WEBDAV, similar to a file
manager.

    Example: <a href="" content-
type="application/vnd.oasis.opendocument.text">

    ------------------------------
    | Open link with ...         |
    | Open link with LibreOffice |

- Background submission of forms without using XMLHttpRequest,
display of result in dialog window or file download, and execution of a
Javascript function for subsequent actions.

    Example: <form background show-progress callback=function()>

- Dialog with progress indicator of form submission. Must show total
size, transmitted data and average speed. Possibility to pause or
cancel the submission.

- Dynamic datalist with searchable JSON source. Over data source URL is
added a "search" parameter with input value.

    Example:
        <input list="article-list" name="article" type="text" />
        <datalist id="article-list"
src="/article?lang=en&view=json&names" />

        Example query URL: "/article?lang=en&view=json&names&search=Ne"

- Option tags with icons.

    Example: <option icon="/icons/save.svg">Save</option>

- Tabs, Tree, etc widgets

Best regards.
Alejandro Sánchez.

Received on Tuesday, 2 March 2021 11:32:25 UTC