DEMO
2.copy scrip di bawah ini silakan bisa pasang di postinagn blog tingal klik html dan pastakan scripnya
<div dir="ltr" style="text-align: center;" trbidi="on">
<div class="style1">
<div style="text-align: center;">
<span style="font-family: Arial, Courier, monospace; font-size: large;"><b><u><a href="http://www.bangrusman.com/p/parse-kode-html.html">Alat Parse HTML</a></u></b></span>
</div>
<center>
<b><span style="font-family: Arial, Courier, monospace;">
</span><div class="style1">
<span style="font-family: Arial, Courier, monospace;">Ketikkan / Paste Script Kode HTML kedalam Bidang Kotak dibawah ini</span>
<span style="font-family: Arial, Courier, monospace;">Kemudian klik tombol "<span style="color: red;">Parse Kode HTML</span>"<i> </i></span></div>
</b></center>
<center>
<b>
<div style="text-align: center; width: 100%;">
<div style="margin: 0 auto; padding: 0; width: 100%;">
<div id="mainDiv" style="padding: 2px 0;">
<textarea cols="21" id="tarea" onfocus="code_check();" rows="10" style="font-size: 12px; height: 100%; width: 100%;"></textarea>
<div style="margin: 0 auto; padding: 5px 0; width: 95%;">
<button onclick="code_convert();" style="margin-right: 5px;" type="button">Parse Kode HTML</button>
<button onclick="code_clear();" style="margin-left: 5px;" type="button">Clear</button> </div>
</div>
</div>
</div>
<script>
function code_check(){
var focuscheck=document.getElementById('tarea');if(focuscheck.value.indexOf('Pastekan Disini Kode yang Akan Anda Pasang pada Postingan Blog')>0)focuscheck.value='';}
function code_clear(){
var wtarea=document.getElementById('tarea');wtarea.value='';}
function code_convert(){
var ctarea=document.getElementById('tarea');var toConvert=ctarea.value;
var toConvert=toConvert.replace(/&/g,"&");
var toConvert=toConvert.replace(/'/g,"'");
var toConvert=toConvert.replace(/"/g,""");
var toConvert=toConvert.replace(/</g,"<");
var toConvert=toConvert.replace(/>/g,">");
ctarea.value=toConvert;ctarea.focus();ctarea.select();};
</script>
</b></center>
</div>
3.tinggal cek hasilnya
<div class="style1">
<div style="text-align: center;">
<span style="font-family: Arial, Courier, monospace; font-size: large;"><b><u><a href="http://www.bangrusman.com/p/parse-kode-html.html">Alat Parse HTML</a></u></b></span>
</div>
<center>
<b><span style="font-family: Arial, Courier, monospace;">
</span><div class="style1">
<span style="font-family: Arial, Courier, monospace;">Ketikkan / Paste Script Kode HTML kedalam Bidang Kotak dibawah ini</span>
<span style="font-family: Arial, Courier, monospace;">Kemudian klik tombol "<span style="color: red;">Parse Kode HTML</span>"<i> </i></span></div>
</b></center>
<center>
<b>
<div style="text-align: center; width: 100%;">
<div style="margin: 0 auto; padding: 0; width: 100%;">
<div id="mainDiv" style="padding: 2px 0;">
<textarea cols="21" id="tarea" onfocus="code_check();" rows="10" style="font-size: 12px; height: 100%; width: 100%;"></textarea>
<div style="margin: 0 auto; padding: 5px 0; width: 95%;">
<button onclick="code_convert();" style="margin-right: 5px;" type="button">Parse Kode HTML</button>
<button onclick="code_clear();" style="margin-left: 5px;" type="button">Clear</button> </div>
</div>
</div>
</div>
<script>
function code_check(){
var focuscheck=document.getElementById('tarea');if(focuscheck.value.indexOf('Pastekan Disini Kode yang Akan Anda Pasang pada Postingan Blog')>0)focuscheck.value='';}
function code_clear(){
var wtarea=document.getElementById('tarea');wtarea.value='';}
function code_convert(){
var ctarea=document.getElementById('tarea');var toConvert=ctarea.value;
var toConvert=toConvert.replace(/&/g,"&");
var toConvert=toConvert.replace(/'/g,"'");
var toConvert=toConvert.replace(/"/g,""");
var toConvert=toConvert.replace(/</g,"<");
var toConvert=toConvert.replace(/>/g,">");
ctarea.value=toConvert;ctarea.focus();ctarea.select();};
</script>
</b></center>
</div>
Belum ada tanggapan untuk "cara mudah bikin parse html di blog"
Post a Comment