In HTML5, can I create an irregularly shaped text box?

Just to be clear, I don't start with a rectangular text box and float around an irregular image. I create an arbitrary form, and then I type the text to fit better into this form. Is there a jquery plugin or in html5 canvas? Is it still possible?

+5
source share
2 answers

If you can provide fields describing the form, you can use CSS3 Regions . However, accessibility in your target browsers can be quite poor. This is probably the mentioned Šime specification.

SVG also claims support for this in the SVG 1.2 working draft . I do not understand if this made a recommendation to W3 or is it really supported in browsers.

Update: The answers to this question suggest that the SVG approach will not work right now.

0
source

The working standard for HTML5 describes current features. Desired functions are not specified in the working standard, so you need a script.

Text text fields to provide the necessary functionality.

+2
source

All Articles