<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--ϵͳĬģ--> <HTML> <HEAD> <TITLE>ONT</TITLE> <META http-equiv=pragma content=no-cache> <META http-equiv=cache-control content="no-cache, must-revalidate"> <META http-equiv=content-type content="text/html; charset=gbk"> <META http-equiv=content-script-type content=text/javascript> <!--ϵͳcss--> <STYLE type=text/css> @import url(/style/default.css); </STYLE> <!--ϵͳű--> <SCRIPT language="javascript" type="text/javascript"> var loginFlag = 0; /* Added by peichao for mission#0007440 */ function CreateCode() { document.getElementById('check_code').value='6cr8l'; } function refresh() { window.location.reload(); } /* End of mission#0007440 */ function myKeyDown(e) { var code; if (!e) { e = window.event; } if (e.keyCode) { code = e.keyCode; } else if (e.which) { code = e.which; } if (code == 13) { on_submit(); } return true; } document.onkeydown = myKeyDown; if (document.captureEvents) document.captureEvents(Event.KEYDOWN); /******************************************************************** ** on document load ********************************************************************/ function on_init() { document.forms[0].username.focus(); var regStatus = 0; if (regStatus != 0 // not registered OK && regStatus != 5) // not already registered add_userreg('/usereg.asp'); CreateCode();/* Added by peichao for mission#0007440 */ } /******************************************************************** ** on document submit ********************************************************************/ function on_submit() { if (loginFlag) return 1; with ( document.forms[0] ) { if(username.value.length <= 0) { alert("Empty UserName,Please Input UserName!"); return; } if(psd.value.length <= 0) { alert("Empty PassWord,Please Input PassWord!"); return; } loginFlag = 1; submit(); } } function change_ch()/*Bohannon*/ { window.location.href="/admin/login.asp"; } /* function check_language()//Bohannon { var web_language = 0; if(web_language == 2)//en_US { window.location.href="/admin/login_en.asp"; } } */ function on_Diag() { window.location.href="/diag_index_en.html";//Bohannon } function openWindow(url, windowName) { var wide=600; var high=400; if (document.all) var xMax = screen.width, yMax = screen.height; else if (document.layers) var xMax = window.outerWidth, yMax = window.outerHeight; else var xMax = 640, yMax=480; var xOffset = (xMax - wide)/2; var yOffset = (yMax - high)/3; var settings = 'width='+wide+',height='+high+',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+', resizable=yes, toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes'; window.open( url, windowName, settings ); } function add_userreg(url) { openWindow(url, 'Register Service'); } function setFocus() { document.forms[0].username.focus(); } </SCRIPT> </head> <!-- <body leftmargin="0" topmargin="0" bgcolor="white" onLoad="on_init();"> Bohannon remove webpage auto comeout --> <body leftmargin="0" topmargin="0" bgcolor="white" onLoad="setFocus()"><!-- Bohannon --> <form action=/boaform/admin/formLogin_en method=POST name="cmlogin"> <table width="50%" height="100%" align="center" valign="middle" > <tr> <td width="25%" height="160"></td> <td width="50%" ></td> <td width="25%"></td> </tr> <tr align="left" valign="top"> <td height="160"></td> <td> <table width="100%" cellspacing="0" style="font-size:10pt"> <tr bgcolor="#427594" height="10%"> <td bgcolor="#427594" width="1"></td> <td> <font color="white">Web login</font></td> <td bgcolor="#427594" width="1"></td> </tr> <tr align="center" valign="middle" > <td bgcolor="#427594" width="1"></td> <td><table cellspacing="8" style="font-size:10pt"> <td></td><td></td><td> <font align="center" color="bule"></font></td> <tr><td width="21"> </td><td>Username:</td><td><input type="text" name="username" id="username" style="width:150;"/></td><td> </td></tr> <tr><td width="21"> </td><td>Password:</td><td><input type="password" name="psd" id="psd" style="width:150;"/></td><td> </td></tr> <tr><td width="21"> </td><td>VerificationCode:</td><td><input type="text" name="verification_code" id="verification_code" style="width:150;"/></td><td> </td></tr> <td></td><td></td><td> <input name="button" type="button" class="button" onClick="refresh();" id="check_code" style="font-size:15pt; width:80px; height:25px; color:white; border:none;background-color: #845f5f;text-shadow: 1px -1px 0px black;box-shadow: inset 2px -1px 4px 0px black;" readonly="readonly" oncopy="return false" name="Create_Code" value="6cr8l" /></td> </table> </td> <td bgcolor="#427594" width="1"></td> </tr> <tr bgcolor="#427594" height="10%" align="center" valign="middle" > <td bgcolor="#427594" width="1"></td> <td> <input type="button" class="button" onClick="on_submit();" value="Login"/> <input type="reset" value="Rewrite" /> <!--<input type="button" value="" onClick="on_Diag();" /> --> <!--<input type="button" value="Register Logic ID" onClick="add_userreg('/usereg.asp')" /> --> <!--<input type="button" value="" onClick="change_ch();" />--><!-- Bohannon for en language--> </td> <td bgcolor="#427594" width="1"></td> </tr> </table> </td> <td></td> </tr> <tr> <td height="25%"></td> <td></td> <td></td> </tr> </table> <input type='hidden' name='csrftoken' value='c946f3fadea45910089c8f7b5958004c' /> </form> </BODY> </html>
Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML
. You can also specify the stylesheet information in styles.css
tab and scripts information in scripts.js
tab and start coding.
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
<!DOCTYPE html>
<html>
and ends with </html>
<h1>
to <h6>
where <h1>
is the highest important heading and <h6>
is the least important sub-heading.<p>..</p>
tag.<a>
tag.
<a href="https://onecompiler.com/html">HTML online compiler</a>
<img>
tag, where src
attribute consists of image name.<button>..</button>
tag<ul>
for unordered/bullet list and <ol>
for ordered/number list, and the list items are defined in <li>
.<a href="https://onecompiler.com/html">HTML online compiler</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
body{
padding: 25px;
}
.title {
color: #228B22;
font-family: Candara;
}
<table>
tag.<tr>
tag<th>
tag<td>
tag<caption>
tag<script>
is the tag used to write scripts in HTML<script src="script.js"></script>