1. Trang chủ
  2. » Giáo án - Bài giảng

29.BANG HIEN THI CODE.doc

2 245 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 2
Dung lượng 27 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

7KHO Một cách tuyệt vời để kiểm tra sự hiển thị các đoạn mã của bạn!. Bạn hãy thay thế đoạn văn bản ở đây bằng đoạn mã bạn muốn kiểm tra, bạn có thể sửa chúng ngay ở đây để đoạn mã

Trang 1

<div class="content">

<center><img src=

"http://d3.violet.vn/uploads/resources/185/thucode.gif" border="0"

width="273" height="65"><img src=

"http://i828.photobucket.com/albums/zz202/jang14590/Bieutuongyahoo/emot176.gif"

border="0" width="100" height="80"></center>

<div style=

"font: 12px Verdana,Geneva,Lucida,'Lucida Grande'; margin-bottom: 3px;">

<input value="BẬT CHƯƠNG TRÌNH" style=

"width: 130px; font-size: 12px; margin: 0px; padding: 0px;"

onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')

[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')

[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'TẮT CHƯƠNG TRÌNH'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')

[0].style.display = 'none'; this.innerText = ''; this.value = 'BẬT CHƯƠNG TRÌNH'; }"

type="button"></div>

<div style=

"min-height: 20px; background-color: rgb(51, 153, 255); margin: 0px; padding: 1px; border: 1px inset;">

<div style="display: none;">

<div align="center">

<div style="border: 2px solid rgb(108, 177, 247); width: 500px;">

<div style=

"border-width: 17px; border-style: outset; border-color: rgb(105, 105, 105) rgb(245, 245, 245) rgb(220, 220, 220) rgb(79, 79, 79);">

<div style=

"border: 3px solid rgb(255, 255, 255); background: none repeat scroll 0% 0% rgb(117, 183, 249);">

<p><font color="#FF9933" size="2"><b>7KHO</b></font></p>

<table style=

"width: 300px; border: 1px solid rgb(149, 148, 146); background: none repeat scroll 0% 0% rgb(207, 207, 207);">

<tbody>

<tr>

<td valign="top">

<form name="form1" method="post">

<textarea name="code" wrap="soft" onclick="focus(this.code)" style=

"border: 1px solid rgb(185, 184, 182); padding: 5px; width: 220px; height: 250px;">

Một cách tuyệt vời để kiểm tra sự hiển thị các đoạn mã của bạn! Bạn hãy thay thế đoạn văn bản ở đây bằng đoạn

mã bạn muốn kiểm tra, bạn có thể sửa chúng ngay ở đây để đoạn mã của bạn được hiển thị một cách tốt nhất!

</textarea></form>

</td>

<td valign="top"><iframe src="about:blank" name="preview" style=

"height: 250px; width: 220px; border: 1px solid rgb(185, 184, 182); background: none repeat scroll 0% 0% rgb(255, 255, 255);"

frameborder="0"></iframe></td>

</tr>

</tbody>

</table>

<center><button onclick=

"preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value);

preview.document.close(); preview.focus()">

Xem hiển thị</button><button onclick=

"window.document.form1.code.value='';preview.document.write (document.getElementsByTagName

('TEXTAREA')[0].value); preview.document.close(); preview.focus()">Xoá

Trang 2

tất cả</button><button onclick=

"window.location.href=window.location.href">Làm

lại</button></center>

</div>

</div>

</div>

</div>

<font color="white" size="1"><b><u><br></u></b></font>

<center><font color="white" size="1"><b><u>Chương trình ứng dụng chính xác cho các loại mã Java Script; HTML.<br>

<b>Chúc bạn luôn thành công !</b></u></b></font></center>

</div>

</div>

</div>

Ngày đăng: 22/04/2016, 10:03

TỪ KHÓA LIÊN QUAN

w