html5 draggable attribute with php

A

Anonymous

Guest
PHP is an engine that generates HTML. Albeit I have not heard or know of being able to "drag" with straight HTML, but moreso probably with CSS & Javascript.
 
there's a new html5 draggable attribute. Since this is related to the interaction with the user and not the display, it belongs in html not css.

Code:
    <p draggable="true"><?php $var="dfussd"; echo $var;></p>

Why won't this code work? Are you sure that your test browser supports the attribute in plain html? Check the source code of your html page and see if anything looks strange.
 
Back
Top