- เครดิต
- 8
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
แจกฟรีครับ- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-874">
- <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
- <meta name="ProgId" content="FrontPage.Editor.Document">
- <title>ทดสอบ CODE HTML ที่คุณได้สร้างขึ้นมา</title>
- </head>
- <body background="../bg/bg.jpg" topmargin="0" leftmargin="0">
- <div align="left">
- <table border="2" width="778" height="209" bordercolor="#0000FF" cellspacing="0" cellpadding="0">
- <tr>
- <td background="../bg/wood.jpg" width="780" height="27">
- <p align="center"><b>
- <font face="MS Sans Serif" size="5" color="#FF0000">ทดสอบ CODE HTML
- ที่คุณได้สร้างขึ้นมา</font></b></td>
- </tr>
- <tr>
- <td width="780" height="178" valign="top">
- <p align="center"><br><font face="MS Sans Serif" size="1" color="#000080">
- ในหน้านี้คุณสามารถทดสอบ CODE HTML
- ที่คุณได้สร้างขึ้นมาได้ว่าจะมีผลอย่างไรเมื่อแสดงผ่านหน้า BROWSER
- ครับ ส่วนวิธีการก็คือ ให้ใส่ <br>
- CODE HTML ลงไปในช่องใหญ่ๆด้านล่างครับ
- เสร็จแล้วก็กดที่ปุ่ม "</font><font face="MS Sans Serif" size="1" color="#FF0000">ทำการทดสอบ
- </font><font face="MS Sans Serif" size="1" color="#FF0000">CODE
- HTML</font><font face="MS Sans Serif" size="1" color="#000080">"
- ครับ</font></p>
- <SCRIPT language=Javascript>
- <!--
- var body=0;
- linkvar = 0;
- function colors() {
- body=1;
- document.Form1.none.value=document.Form1.none.value + '<Body BGcolor=' +
- document.Form1.Bgcolor.options[document.Form1.Bgcolor.selectedIndex].value + '\rTEXT=' +
- document.Form1.text.options[document.Form1.text.selectedIndex].value + '\rVlink=' +
- document.Form1.vlink.options[document.Form1.vlink.selectedIndex].value + '\rAlink=' +
- document.Form1.alink.options[document.Form1.alink.selectedIndex].value + '\rLink=' +
- document.Form1.links.options[document.Form1.links.selectedIndex].value + '>'
- }
- function Background(hexNumber)
- {
- document.bgColor=hexNumber
- }
- function list(type) {
- num = prompt('How many list items', "");
- if (num != "" || null) {document.Form1.none.value=document.Form1.none.value + '<' + type+ '>\r'}
- for (i = 0; i < num; i++){
- item=prompt('please type an item',"");
- if (item != "" || null) {
- document.Form1.none.value=document.Form1.none.value + '<LI>' + item + '\r'}
- }
- document.Form1.none.value=document.Form1.none.value + '</' + type + '>\r'
- }
- function prompt2(String , msg, tags, tags2) {
- String=prompt(msg, "");
- if (String != "" || null) {document.Form1.none.value=document.Form1.none.value + tags + String + tags2 + '\r'
- }
- }
- function prompt3(String , msg, tags, tags2) {
- String=prompt(msg, "");
- if (String != "" || null) {document.Form1.none.value=document.Form1.none.value + tags + '"' + String + '"' + tags2 + '\r'
- }
- }
- function addlink() {
- var L=prompt('Type the complete address of the link',"");
- var N=prompt('type the name of the link as you want it to be shown on the page',"");
- if (L || N != "" || null) {document.Form1.none.value=document.Form1.none.value + '<A HREF="' + L + '">' + N + '</A>' + '\r'
- }
- }
-
- function end() {
- if (body == 0) { addtag('</HTML>') }
- else { addtag('</BODY></HTML>') }
- }
- function writ() {
- f = window.open();
- f.document.write(document.Form1.none.value);
- f.document.close();
- }
- function addtag(tag) {
- document.Form1.none.value=document.Form1.none.value + tag + '\r'
- }
- function hr() {
- var size=prompt('what size HR',"");
- if (size != "" || null) {document.Form1.none.value=document.Form1.none.value + '<HR size=' + size + '>\r'
- }
- }
-
- function addform() {
- if (confirm("Do you want to give this form an action and a method?")) {
- var action = prompt('what action', "");
- var method = prompt('What Method' , "");
- document.Form1.none.value = document.Form1.none.value + "<Form action=" + action + "\nMethod=" + method + ">"}
- else { document.Form1.none.value = document.Form1.none.value + "<form>" }
- }
- function addformbutt() {
- var buttname = prompt('Button Name' , "");
- var buttvalue = prompt('Buttons Label' , "");
- document.Form1.none.value = document.Form1.none.value + "<Input type=Button name=" + buttname +
- '\rValue="' + buttvalue + '">';
- }
- function addformtext() {
- if (confirm("Are you Sure")) {
- var textname = prompt("Text name" , "");
- document.Form1.none.value = document.Form1.none.value + '<Input type = Text name=' + textname + '\nvalue=""' + '>'
- }
- else { alert("stopping Text generation"); }
- }
- function addformtextarea() {
- if (confirm("Are you sure?")) {
- var textareaname = prompt("Textarea name" , "");
- var textcols = prompt("How many Text Columns?", "");
- var textrows = prompt("How many Text Rows?" , "");
- document.Form1.none.value = document.Form1.none.value + '<Textarea name=' + textareaname + '\nCOLS="' + textcols + '"' + '\nRows="' + textrows + '"' + '></Textarea>'
- }
- else { alert("Stopping Textarea") }
- }
- function addformselect() {
- if (confirm("Are you sure")) {
- var selectname = prompt('What is the name of the select?' , "");
- document.Form1.none.value = document.Form1.none.value + '<Select name=' + selectname + '>\n'
- var selectobjs = prompt('How many select box items?', "");
- for (s = 0; s < selectobjs; s++) {
- var selitems = prompt('Please type an item' , "");
- document.Form1.none.value = document.Form1.none.value + '<Option>' + selitems + '\n'
- }
- } else { alert("process stopped") }
- document.Form1.none.value = document.Form1.none.value + '</select>'
- }
- function addformcheck() {
- if (confirm("Are you sure")) {
- var checkname = prompt('Check Box Name' , "");
- document.Form1.none.value = document.Form1.none.value +
- '<INPUT TYPE=checkbox name=' + checkname + '>'
- }else { alert("Process stopped"); }
- }
- function addformradio() {
- if (confirm("Are you sure")) {
- var radioname = prompt('What is the name of your radio button??' , "");
- document.Form1.none.value = document.Form1.none.value + '<INPUT TYPE=radio name=' + radioname + '>'
- }
- }
- //-->
- </SCRIPT>
- <center>
- <FORM name=Form1>
- <INPUT onclick=writ() type=button value='===> ทำการทดสอบ CODE HTML <===' name=none7 style="font-family: Microsoft Sans Serif; font-size: 10pt; color: #0000FF; background-color: #FFCC66; border-style: dotted; border-color: #FF0000">
- <INPUT type=reset value='===> ลบข้อความด้านล่างทั้งหมด <===' name=B1 style="font-family: Microsoft Sans Serif; font-size: 10pt; color: #0000FF; background-color: #FFCC66; border-style: dotted; border-color: #FF0000"><BR>
- <TEXTAREA name=none rows=20 cols=100 style="font-family: Microsoft Sans Serif; font-size: 10pt; color: #FF0000; background-color: #CCFF33; border-style: dashed; border-color: #0000FF"></TEXTAREA>
- </FORM>
- <p align="center">
-
- <br>
- </td>
- </tr>
- </table>
- </div><br>
- <center>
- <script type="text/javascript"><!--
- google_ad_client = "pub-6089437339879696";
- /* PLAYGAME PAGE */
- google_language = 'en';
- google_ad_slot = "5150782600";
- google_ad_width = 468;
- google_ad_height = 60;
- //-->
-
- </html>
คัดลอกไปที่คลิปบอร์ด |
|
|
|
|
|
|