+ADwAIQ-DOCTYPE html+AD4- +ADw-html lang+AD0AIg-en+ACIAPg- +ADwAIQ--- /html/tryit.asp?filename+AD0-tryhtml+AF8-formatting+AF8-samp +AFs-XR+ACY-CO'2014+AF0-, Sun, 13 Mar 2016 11:02:53 GMT --+AD4- +ADw-head+AD4- +ADw-title+AD4-Tryit Editor v2.6+ADw-/title+AD4- +ADw-meta name+AD0AIg-viewport+ACI- content+AD0AIg-width+AD0-device-width+ACIAPg- +ADw-meta name+AD0AIg-viewport+ACI- content+AD0AIg-width+AD0-device-width, initial-scale+AD0-1.0+ACIAPg- +ADw-link rel+AD0AIg-stylesheet+ACI- href+AD0AIg-../trystyle.css+ACIAPg- +ADwAIQ---+AFs-if lt IE 8+AF0APg- +ADw-style+AD4- .textareacontainer, .iframecontainer +AHs-width:48+ACUAOwB9- .textarea, .iframe +AHs-height:800px+ADsAfQ- +ACM-textareaCode, +ACM-iframeResult +AHs-height:700px+ADsAfQ- .menu img +AHs-display:none+ADsAfQ- +ADw-/style+AD4- +ADwAIQBb-endif+AF0---+AD4- +ADw-script+AD4- if (window.addEventListener) +AHs- window.addEventListener(+ACI-resize+ACI-, browserResize)+ADs- +AH0- else if (window.attachEvent) +AHs- window.attachEvent(+ACI-onresize+ACI-, browserResize)+ADs- +AH0- var xbeforeResize +AD0- window.innerWidth+ADs- function browserResize() +AHs- var afterResize +AD0- window.innerWidth+ADs- if ((xbeforeResize +ADw- (970) +ACYAJg- afterResize +AD4APQ- (970)) +AHwAfA- (xbeforeResize +AD4APQ- (970) +ACYAJg- afterResize +ADw- (970)) +AHwAfA- (xbeforeResize +ADw- (728) +ACYAJg- afterResize +AD4APQ- (728)) +AHwAfA- (xbeforeResize +AD4APQ- (728) +ACYAJg- afterResize +ADw- (728)) +AHwAfA- (xbeforeResize +ADw- (468) +ACYAJg- afterResize +AD4APQ- (468)) +AHwAfA-(xbeforeResize +AD4APQ- (468) +ACYAJg- afterResize +ADw- (468))) +AHs- xbeforeResize +AD0- afterResize+ADs- googletag.cmd.push(function() +AHs- googletag.pubads().refresh(+AFs-gptAdSlots+AFs-0+AF0AXQ-)+ADs- +AH0-)+ADs- +AH0- +AH0- +ADw-/script+AD4- +ADw-script type+AD0AIg-text/javascript+ACIAPg- function submitTryit() +AHs- var text +AD0- document.getElementById(+ACI-textareaCode+ACI-).value+ADs- var ifr +AD0- document.createElement(+ACI-iframe+ACI-)+ADs- ifr.setAttribute(+ACI-frameborder+ACI-, +ACI-0+ACI-)+ADs- ifr.setAttribute(+ACI-id+ACI-, +ACI-iframeResult+ACI-)+ADs- document.getElementById(+ACI-iframewrapper+ACI-).innerHTML +AD0- +ACIAIgA7- document.getElementById(+ACI-iframewrapper+ACI-).appendChild(ifr)+ADs- var ifrw +AD0- (ifr.contentWindow) ? ifr.contentWindow : (ifr.contentDocument.document) ? ifr.contentDocument.document : ifr.contentDocument+ADs- ifrw.document.open()+ADs- ifrw.document.write(text)+ADs- ifrw.document.close()+ADs- //23.02.2016: contentEditable is set to true, to fix text-selection (bug) in firefox. //(and back to false to prevent the content from being editable) //(To reproduce the error: Select text in the result window with, and without, the contentEditable statements below.) if (ifrw.document.body +ACYAJg- +ACE-ifrw.document.body.isContentEditable) +AHs- ifrw.document.body.contentEditable +AD0- true+ADs- ifrw.document.body.contentEditable +AD0- false+ADs- +AH0- +AH0- +ADw-/script+AD4- +ADw-style+AD4- +ADw-/style+AD4- +ADw-/head+AD4- +ADw-body+AD4- +ADw-div id+AD0-'tryitLeaderboard'+AD4- +ADwAIQ--- TryitLeaderboard --+AD4- +ADw-div id+AD0-'div-gpt-ad-1428407818244-0'+AD4- +ADw-script type+AD0-'text/javascript'+AD4-googletag.cmd.push(function() +AHs- googletag.display('div-gpt-ad-1428407818244-0')+ADs- +AH0-)+ADsAPA-/script+AD4- +ADw-/div+AD4- +ADw-/div+AD4- +ADw-div class+AD0AIg-container+ACIAPg- +ADw-div class+AD0AIg-textareacontainer+ACIAPg- +ADw-div class+AD0AIg-textarea+ACIAPg- +ADw-div style+AD0AIg-overflow:auto+ADsAIgA+- +ADw-div class+AD0AIg-headerText+ACIAPg-Edit This Code:+ADw-/div+AD4- +ADw-button class+AD0AIg-seeResult+ACI- type+AD0AIg-button+ACI- onclick+AD0AIg-submitTryit()+ACIAPg-See Result +ACY-raquo+ADsAPA-/button+AD4- +ADw-/div+AD4- +ADw-div class+AD0AIg-textareawrapper+ACIAPg- +ADw-textarea autocomplete+AD0AIg-off+ACI- class+AD0AIg-code+AF8-input+ACI- id+AD0AIg-textareaCode+ACI- wrap+AD0AIg-logical+ACI- spellcheck+AD0AIg-false+ACIAPgA8ACE-DOCTYPE html+AD4- +ADw-html+AD4- +ADw-body+AD4- +ADw-p+AD4-The samp element represents sample output from a computer program:+ADw-/p+AD4- +ADw-samp+AD4- demo.example.com login: Apr 12 09:10:17 Linux 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr0-reslog-v6.189 +ADw-/samp+AD4- +ADw-/body+AD4- +ADwAIQ--- /html/tryit.asp?filename+AD0-tryhtml+AF8-formatting+AF8-samp +AFs-XR+ACY-CO'2014+AF0-, Sun, 13 Mar 2016 11:02:53 GMT --+AD4- +ADw-/html+AD4- +ADw-/textarea+AD4- +ADw-form autocomplete+AD0AIg-off+ACI- style+AD0AIg-margin:0px+ADs-display:none+ADsAIgA+- +ADw-input type+AD0AIg-hidden+ACI- name+AD0AIg-code+ACI- id+AD0AIg-code+ACI- /+AD4- +ADw-input type+AD0AIg-hidden+ACI- id+AD0AIg-bt+ACI- name+AD0AIg-bt+ACI- /+AD4- +ADw-/form+AD4- +ADw-/div+AD4- +ADw-/div+AD4- +ADw-/div+AD4- +ADw-div class+AD0AIg-iframecontainer+ACIAPg- +ADw-div class+AD0AIg-iframe+ACIAPg- +ADw-div style+AD0AIg-overflow:auto+ADsAIgA+- +ADw-div class+AD0AIg-headerText+ACIAPg-Result:+ADw-/div+AD4- +ADw-/div+AD4- +ADw-div id+AD0AIg-iframewrapper+ACI- class+AD0AIg-iframewrapper+ACIAPg- +ADw-/div+AD4- +ADw-/div+AD4- +ADw-/div+AD4- +ADw-div class+AD0AIg-footerText+ACIAPg-Try it Yourself - +ACY-copy+ADs- +ADw-a href+AD0AIg-../index.html+ACIAPg-w3schools.com+ADw-/a+AD4APA-/div+AD4- +ADw-/div+AD4- +ADw-script+AD4-submitTryit()+ADw-/script+AD4- +ADw-/body+AD4- +ADw-/html+AD4-