
یک ابزار ساده و سبک که کارایی خوبی برای وبمسترها داره یعنی اونهایی که
تو کار کدنویسی هستند.این دومین ابزار آزمایش کد های اچ تی ام ال هست که
اولی کمی حجمش زیاد بود ولی این یکی خیلی سبک هست.امیدوارم استفاده کافی رو
از این ابزار ببرید.
اینم کد ولی اگه خوشتون اومد یه تشکر بزن:
<script>function displayHTML(form) {
var inf = form.htmlArea.value;
win = window.open(", ", 'popup', 'toolbar = no, status = no');
win.document.write("" + inf + "");
}
</script>
<link type="text/css" rel="stylesheet" href="https://rozup.ir/up/rozex/Documents/test-cod/style.css">
<div id="rozextest" style="display: block;">
<form>
<textarea style="width: 456px; height: 260px;" name="htmlArea" cols="80" rows="14">
<h3 class="testfont">Wellcome to Rozex</h3>
<link href="http://fonts.googleapis.com/css?family=Reenie+Beanie:regular" rel="stylesheet" type="text/css"> <style> H3.testfont,P.testfont{ font-family: 'Reenie Beanie', serif; font-size: 47px; font-style: normal; font-weight: 400; text-shadow: 4px 4px 4px #bbb; text-decoration: none; text-transform: none; letter-spacing: 0.073em; word-spacing: 0.034em; line-height: 1em; } </style>
<p class="testfont">This is a simple tool</p>
</textarea>
<br>
<input value=" براي آزمايش کد کليک کنيد" onclick="displayHTML(this.form)" type="button">
منبع : www.rozex.rozblog.com

