<!doctype html> <link rel="stylesheet" href="/path/to/styles/default.css"> <script src="/path/to/highlight.pack.js"></script> <script>hljs.initHighlightingOnLoad();</script> <html lang="en"> <head> <meta charset="utf-8"> <title>css demo</title> <style> div { width: 20px; height: 15px; background-color: #f33; } </style> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> </head> <body> <div>bog are for frogs and click</div> <p>Hello maybe this is a click</p> <script> $(document).ready(function() { $("div ,p").each(function(i, block) { hljs.highlightBlock(block); }); }); </script> </body> </html>
pre
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)