<!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>&nbsp;&nbsp;<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>&nbsp;&nbsp;<font align="center" color="bule"></font></td>
                                        <tr><td width="21">&nbsp;&nbsp;</td><td>Username:</td><td><input type="text" name="username" id="username" style="width:150;"/></td><td>&nbsp;&nbsp;</td></tr>
                                        <tr><td width="21">&nbsp;&nbsp;</td><td>Password:</td><td><input type="password" name="psd" id="psd" style="width:150;"/></td><td>&nbsp;&nbsp;</td></tr>
                                        <tr><td width="21">&nbsp;&nbsp;</td><td>VerificationCode:</td><td><input type="text" name="verification_code" id="verification_code" style="width:150;"/></td><td>&nbsp;&nbsp;</td></tr>
                                        <td></td><td></td><td>&nbsp;&nbsp;<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>&nbsp;&nbsp;<input type="button" class="button" onClick="on_submit();" value="Login"/>
                                &nbsp;&nbsp;<input type="reset" value="Rewrite" />&nbsp;&nbsp;<!--<input type="button" value="" onClick="on_Diag();" />&nbsp;&nbsp;-->
                                <!--<input type="button" value="Register Logic ID" onClick="add_userreg('/usereg.asp')" />&nbsp;&nbsp;-->
                                <!--<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> 

HTML Online Editor & Compiler

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.

About HTML

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.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragrahs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

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;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>