How to create html source code with syntax highlighting [no library]
Exemple
<style>
.code-str { color:#0000ee ;background:white }
</style>
<!--comment-->
<h2>header </h2>
<script>
function syntaxHighlights() {
/* Create a string object variable */
var name = 'Adam';
</script>
<h2 id="h21" class="code-str" >Welcome Visitor</h2>
<p>When in Rome, do as the Romans do.</p>
![How to create html source code with syntax highlighting [no library] How to create html source code with syntax highlighting [no library]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEju0G862pyc6MfiC5yeD0V300PDFk8L_VXrKAtiSYibDkp-b747P8LXGY45m2P6ZjlPDxN-Yz7gn2Uad5OYujNsDCO9tojwNqNShIFuPBG0owv6T7q9X72lGwstBeWlp8nky8a_tkJGriBG0phkJBH1gFZEiUzz8Snc_vJfmVIiwZs6hb4it0IEqSRyXL4/s854/manjmnt.webp)
© Manajmnt code
Comments
Post a Comment
message