JSFiddle - React, Tailwind, and code Playground
by chiragvidani
HTML
<body onload="readvalue()"></body>
CSS
body {
}
.name {
width: 135px;
height: 40px;
border: 4px solid #4099ff;
background:url(images/FlowerLogoBack.jpg);
background-repeat:no-repeat;
font-family: arial;
font-size:20px;
color: #4099ff;
}
JavaScript
function readvalue() {
var WshShell = new ActiveXObject("WScript.Shell");
var value = WshShell.RegRead("HKLM\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\CurrentVersion");
document.write("<div class='name'>" + value+"</text>" );
}