Codelab Editor
Free Online HTML Editor
Run
Learn jQuery
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jQuery jquery Property Example</title> <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <style> body { font-family: Arial, sans-serif; padding: 10px; } .demo-box { border: 1px solid #ccc; padding: 15px; margin-bottom: 10px; } .highlight { background: #f0f8ff; padding: 5px; display: inline-block; margin-top: 10px; } </style> </head> <body> <h2>jQuery <code>jquery</code> Property Example</h2> <div class="demo-box"> <p>This example displays the jQuery version currently loaded:</p> <p id="result" class="highlight"></p> </div> <script> $(document).ready(function() { var version = $.fn.jquery; $("#result").text("Current jQuery version: " + version); }); </script> </body> </html>
Editor Commands
Ctrl
F
Find
Ctrl
G
Find Next
Ctrl
⇧
G
Find Previous
Ctrl
⇧
F
Find & Replace
Ctrl
]
Indent Code Right
Ctrl
[
Indent Code Left
⇧
Tab
Auto Indent Code
Ctrl
/
Line Comment
Ctrl
Alt
/
Block Comment
TutsInsider Actions
Alt
S
Run Code
Ctrl
C
Copy Editor Code
Ctrl
A
Select All Editor Code
Ctrl
S
Save/Download
Ctrl
Alt
X
Rotate
Ctrl
Alt
T
Switch Theme
Ctrl
⇧
C
Open Console
Esc
Close Console