contenteditable - HTML CSS HTML Global Attribute

HTML CSS examples for HTML Global Attribute:contenteditable

Introduction

The contenteditable attribute is new in HTML5 and it allows the user to change the content in the page.

Demo Code

ResultView the demo in separate window

<!DOCTYPE HTML>  
<html>  
    <head>      
        <title>Example</title>  
    </head>  
    <body>  
        <p contenteditable="true">This is a test.</p>  
    </body>  
</html>  <!--from  ww w .  j  a  va 2  s .c om-->

Related Tutorials