Can PDF files run HTML5 and Javascript?
P粉113938880
P粉113938880 2024-04-05 12:57:00
0
1
655

I have a stupid idea to try and make a program that won't be blocked on any computer since it will be embedded in a PDF (I heard Javascript can run in PDFs). It will run HTML5 and Javascript (and a little bit of CSS) in PDF files, mainly using the canvas element in HTML5 and WebGL in Javascript. Is this possible?

P粉113938880
P粉113938880

reply all(1)
P粉556159786

No.

PDFs can embed JS in the same way as HTML.

PDFs cannot embed HTML. They have nothing equivalent to canvas elements.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template