HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body onkeydown="myFunction(event)"> <h2>Select Text and Press Shift</h2> <script> document.designMode = "on"; function myFunction(e){ if(e.keyCode == 16) document.execCommand("indent"); } </script> </body> </html>
OUTPUT
×

Save as Private