Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (29.8 KB, 1 trang )
BANG THU CODE
<div class="content"><br><center><font color="red" size="5"><b>BẢNG THỬ
CODE</b></font></center><br><table style=
"width:520px;border:solid 1px #959492;background:#ebebea"><tr><td
valign="top">
<form name="form1" method="post">
<textarea name="code" wrap="soft" onclick="focus(this.code)" style=
"border:solid 1px
#b9b8b6;padding:5px;width:250px;height:300px;scroll:auto;">
Bạn thay đoạn văn bản ở đây bằng đoạn code bạn muốn kiểm tra, hình ảnh
sẽ hiển thị ngay ở ô bên phải, bạn có thể sửa tại đây để đoạn code của
bạn hiển thị tốt nhất!
</textarea></form></td><td valign="top"><iframe src="about:blank"
name="preview" style=
"height:300px;width:260px;border:solid 1px #b9b8b6;background:#ffffff"
frameborder="0"></iframe></td></tr></table><center><button onclick=
"preview.document.write(document.getElementsByTagName ('TEXTAREA')
[0].value); preview.document.close(); preview.focus()">
Xem</button><buttononclick="window.document.form1.code.value='';preview.
document.write (document.getElementsByTagName ('TEXTAREA')[0].value);
preview.document.close(); preview.focus()">Xoá</button> <button
onclick="window.location.href=window.location.href">Thửlại</button>
</center><br></div>