HTML 4.0 TAGS
LINKS BELOW
LINKS BELOW
HTML Tags Ordered Alphabetically
Tag
Description
Defines a comment
Defines the document type
Defines a hyperlink
Defines an abbreviation or an acronym
Not supported in HTML5. Use <abbr> instead.
Defines an acronym
Defines contact information for the author/owner of a document
Defines an embedded applet
Defines an area inside an image map
Defines an article
Defines content aside from the page content
Defines embedded sound content
Defines bold text
Specifies the base URL/target for all relative URLs in a document
Not supported in HTML5. Use CSS instead.
Specifies a default color, size, and font for all text in a document
Isolates a part of text that might be formatted in a different direction from other text outside it
Overrides the current text direction
Not supported in HTML5. Use CSS instead.
Defines big text
Defines a section that is quoted from another source
Defines the document's body
Defines a single line break
Defines a clickable button
Used to draw graphics, on the fly, via scripting (usually JavaScript)
Defines a table caption
Not supported in HTML5. Use CSS instead.
Defines centered text
Defines the title of a work
Defines a piece of computer code
Specifies column properties for each column within a <colgroup> element
Specifies a group of one or more columns in a table for formatting
Adds a machine-readable translation of a given content
Specifies a list of pre-defined options for input controls
Defines a description/value of a term in a description list
Defines text that has been deleted from a document
Defines additional details that the user can view or hide
Specifies a term that is going to be defined within the content
Defines a dialog box or window
Not supported in HTML5. Use <ul> instead.
Defines a directory list
Defines a section in a document
Defines a description list
Defines a term/name in a description list
Defines emphasized text
Defines a container for an external application
Groups related elements in a form
Defines a caption for a <figure> element
Specifies self-contained content
Not supported in HTML5. Use CSS instead.
Defines font, color, and size for text
Defines a footer for a document or section
Defines an HTML form for user input
Not supported in HTML5.
Defines a window (a frame) in a frameset
Not supported in HTML5.
Defines a set of frames
Defines HTML headings
Contains metadata/information for the document
Defines a header for a document or section
Defines a thematic change in the content
Defines the root of an HTML document
Defines a part of text in an alternate voice or mood
Defines an inline frame
Defines an image
Defines an input control
Defines a text that has been inserted into a document
Defines keyboard input
Defines a label for an <input> element
Defines a caption for a <fieldset> element
Defines a list item
Defines the relationship between a document and an external resource (most used to link to style sheets)
Specifies the main content of a document
Defines an image map
Defines marked/highlighted text
Defines metadata about an HTML document
Defines a scalar measurement within a known range (a gauge)
Defines navigation links
Not supported in HTML5.
Defines an alternate content for users that do not support frames
Defines an alternate content for users that do not support client-side scripts
Defines a container for an external application
Defines an ordered list
Defines a group of related options in a drop-down list
Defines an option in a drop-down list
Defines the result of a calculation
Defines a paragraph
Defines a parameter for an object
Defines a container for multiple image resources
Defines preformatted text
Represents the progress of a task
Defines a short quotation
Defines what to show in browsers that do not support ruby annotations
Defines an explanation/pronunciation of characters (for East Asian typography)
Defines a ruby annotation (for East Asian typography)
Defines text that is no longer correct
Defines sample output from a computer program
Defines a client-side script
Defines a section in a document
Defines a drop-down list
Defines smaller text
Defines multiple media resources for media elements (<video> and <audio>)
Defines a section in a document
Defines strikethrough text
Defines important text
Defines style information for a document
Defines subscripted text
Defines a visible heading for a <details> element
Defines superscripted text
Defines a container for SVG graphics
Defines a table
Groups the body content in a table
Defines a cell in a table
Defines a container for content that should be hidden when the page loads
Defines a multiline input control (text area)
Groups the footer content in a table
Defines a header cell in a table
Groups the header content in a table
Defines a specific time (or datetime)
Defines a title for the document
Defines a row in a table
Defines text tracks for media elements (<video> and <audio>)
Not supported in HTML5. Use CSS instead.
Defines teletype text
Defines some text that is unarticulated and styled differently from normal text
Defines an unordered list
Defines a variable
Defines embedded video content
Defines a possible line-break
CONFIDENTIALITY / COPYRIGHT NOTICE: This site and my information and any attachments contains the PRIVILEGED AND CONFIDENTIAL INFORMATION of Fred Finkelstein & Irondesigner DBA / LLC mutually, Inc., its affiliated corporations or legal entities, and is intended only for the use of the individual(s) named above. If you are not the intended recipient of this e-mail or invited to this site, or the employee or agent responsible for delivering this to the intended recipient, you are hereby notified that any unlawful interception, dissemination, disclosure, printing or copying of this e-mail or site or any attachments is strictly prohibited under the Electronics Communication Privacy Act (ECPA), 18 USCA 2510, 18 USCA 2511, and any applicable laws. If you have received this e-mail or viewing this site in error, please delete or destroy it & close down, including all attachments or copies, and immediately notify us by e-mail at mechanicalengrg@gmail.com
EXAMPLE CODE & DISPLAY
<HTML>
<HEAD>
<TITLE>Longo Toyota</TITLE>
<SCRIPT LANGUAGE="Javascript">
<!--
if (document.images) {
var i;
var imgNameArray = ["longodiff","newvehicles","usedvehicles","finance",
"parts","service","collisionrepair","contactus",
"penske"];
var imgSubNavArray = ["home","paycal","prequal","qukquo"];
for (i = 0; i < imgNameArray.length; i++) {
eval(imgNameArray[i] + "_off = new Image();");
eval(imgNameArray[i] + "_off.src = 'images/nav_" +
imgNameArray[i] + ".gif';");
eval(imgNameArray[i] + "_on = new Image();");
eval(imgNameArray[i] + "_on.src = 'images/nav_" +
imgNameArray[i] + ".mo.gif';");
}
for (i = 0; i < imgSubNavArray.length; i++) {
eval("s_" + imgSubNavArray[i] + "_off = new Image();");
eval("s_" + imgSubNavArray[i] + "_off.src = 'images/subnav_" +
imgSubNavArray[i] + ".gif';");
eval("s_" + imgSubNavArray[i] + "_on = new Image();");
eval("s_" + imgSubNavArray[i] + "_on.src = 'images/subnav_" +
imgSubNavArray[i] + ".mo.gif';");
}
}
function imgOn(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "_on.src");
}
}
function imgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "_off.src");
}
}
function jumpTo(selector) {
var other_sites = selector.options[selector.selectedIndex].value;
var penske_site = "http://www.penske.com/";
var toyota_site = "http://www.toyota.com/";
if (other_sites == penske_site) {
window.open(other_sites,"penskecom","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=1,width=800,height=600");
}
else if (other_sites == toyota_site) {
window.open(other_sites,"toyotacom","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=1,width=800,height=600");
}
else {
self.location.href = selector.options[selector.selectedIndex].value;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#000000" LINK="#CC0000" VLINK="#CC0000"
LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">
<script language=javascript>
<!--
function checkNumber(input,calc) {
if(input.value == '') {
alert('This field requires numeric data');
input.value=input.defaultValue;
}
if(input.value > 9999999 || input.value < 0) {
alert('Value out of bounds');
input.value=input.defaultValue;
}
// status = '';
// msg = "This field requires numeric data: " + input.value;
var str = input.value;
if (isNaN(str)) {
var straray = str.split(',');
if (straray[1]) {
str = straray[0].concat(straray[1]);
}
if (straray[2]) {
str = str.concat(straray[2]);
}
if (str.substr(0, 1) == "$") {
str = str.substr(1, str.length);
}
if (str.substr((str.length - 1), str.length) == "%") {
str = str.substr(0, (str.length - 1));
}
input.value = str;
if(isNaN(input.value)) {
alert('This field requires numeric data');
input.value=input.defaultValue;
}
}
add_input(calc);
}
function add_input(calc) {
// alert("price:" + calc.price.value + " rate:" + calc.rate.value + " down_payment:" + calc.down_payment.value + " term:" + calc.term.value);
var total_cost;
total_cost = (calc.price.value * 1 - calc.down_payment.value);
var i = calc.rate.value;
if (i == 0) {
calc.payment.value = Math.round((total_cost) / (calc.term.value));
}
else {
i = i / 100.0;
i /= 12;
var pow = 1;
for (var j = 0; j < calc.term.value; j++) {
pow = pow * (1 + i);
}
calc.payment.value = Math.round((total_cost * pow * i) / (pow - 1));
}
return false;
}
function selectField(field) {
field.select()
}
//-->
</script>
<center>
<!---------- new layout ---------->
<form method=post action="/calculator.cgi" name="calc" onSubmit="return false;">
<input type=hidden value=1 name="initform">
<!-- top bar table starts -->
<br><br><br><br>
<table width=275 border=0 bgcolor="#6699CC" hspace=0>
<tr><td><center>
<strong><font size="4" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000">Monthly Payment Calculator</font></strong>
</td></tr>
</table>
<!-- top bar table ends -->
<!-- spacer table starts -->
<table height=3 cellpadding=0 cellspacing=0 border=0 hspace=0 vspace=0>
<tr><td></td></tr>
</table>
<!-- spacer table ends -->
<!-- middle outer table starts -->
<table width=275 border=0 cellpadding=10 cellspacing=2 bgcolor="#FFFFFF">
<tr><td>
<!-- middle inner table starts -->
<table>
<tr><td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000">Vehicle Price: </font></td>
<td align=right><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> $</td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> <input type=text size=8 name=price value="25240" onFocus="selectField(this)" onChange="checkNumber(this,calc)"></td>
</tr>
<tr><td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000">Interest Rate: </font></td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> %</td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> <input type=text size=8 name=rate value="9" onFocus="selectField(this)" onChange="checkNumber(this,calc)"></td>
</tr>
<tr><td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000">Down Payment: </font></td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> $ </td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> <input type=text size=8 name=down_payment value="0" onFocus="selectField(this)" onChange="checkNumber(this,calc)"></td>
</tr>
<tr><td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000">Term of Loan: </font></td>
<td> </td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"> <input type=text size=8 name=term value="48" onFocus="selectField(this)" onChange="checkNumber(this,calc)"></td>
</tr>
<tr><td></td>
<td></td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color=""> <input type=image value=" Calculate " src="enter_button.jpg" border=0 name="submit" onClick="add_input(calc);return false;"></font></td>
</tr>
<!--
<tr><td></td>
<td colspan=2>
</font></td>
</tr>
-->
</table>
<!-- middle inner table ends -->
</td></tr>
</table>
<!-- middle outer table ends -->
<!-- spacer table starts -->
<table height=3 cellpadding=0 cellspacing=0 border=0 hspace=0 vspace=0>
<tr><td></td></tr>
</table>
<!-- spacer table ends -->
<!-- bottom bar table starts -->
<table width=275 border=0 cellpadding=10 cellspacing=3 bgcolor="#6699CC" hspace=0>
<tr><td>
<!-- middle bottom bar table starts -->
<table>
<tr><td><b><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"><b>Monthly Payment: </b></font></b></td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"><b>$</b></td>
<td><font size="2" face="Geneva, Helvetica, Arial, Times, Sans-Serif" color="#000000"><input type=text size=8 name=payment value="628.10" size=8></td>
</tr>
</table>
<!-- middle bottom bar table ends -->
</td></tr>
</table>
</form>
</font>
</BODY>
</HTML>
<html>
<script>
function setfocus() {
document.calcform.x.focus();
}
function calc() {
x = document.calcform.x.value;
y = convert(x);
y = roundresult(y);
document.calcform.y.value = y;
}
function calctest() {
x = document.calcform.x.value;
y = convert(x);
//y = roundresult(y);
y = roundresult1(y);
document.calcform.y.value = y;
}
function calc3() {
x1 = document.calcform.x1.value;
x2 = document.calcform.x2.value;
y = convert(x1,x2);
y = roundresult(y);
document.calcform.y.value = y;
}
function calc4() {
x1 = document.calcform.x1.value;
x2 = document.calcform.x2.value;
x3 = document.calcform.x3.value;
y = convert(x1,x2,x3);
y = roundresult(y);
//yy = y.toString();
//if( yy.length>12 ) {
// y = parseFloat(y);
// y = y.toPrecision(10);
//}
document.calcform.y.value = y;
}
function calc5() {
x = document.calcform.x.value;
y = convert1(x);
y = roundresult(y);
document.calcform.y1.value = y;
y = convert2(x);
y = roundresult(y);
document.calcform.y2.value = y;
}
function str2num(s)
{
s=s.toString().trim().replace(/(\d)(\s+)(?=\d)/gm,"$1+").replace(/[^-()\d/*+.]/g, '');
if( s=='' ) return 0;
return Function('"use strict";return ('+s+')')();
}
function isInt(n)
{
return Number(n) === n && n % 1 === 0;
}
function isFloat(n)
{
return Number(n) === n && n % 1 !== 0;
}function roundresult(x) {
y = parseFloat(x);
y = roundnum(y,10);
return y;
}
function roundnum(x,p) {
var i;
var n=parseFloat(x);
var m=n.toPrecision(p+1);
var y=String(m);
i=y.indexOf('e');
if( i==-1 ) i=y.length;
j=y.indexOf('.');
if( i>j && j!=-1 )
{
while(i>0)
{
if(y.charAt(--i)=='0')
y = removeAt(y,i);
else
break;
}
if(y.charAt(i)=='.')
y = removeAt(y,i);
}
return y;
}
function removeAt(s,i) {
s = s.substring(0,i)+s.substring(i+1,s.length);
return s;
}
</script>
<h1>Fahrenheit to Celsius conversion</h1>
<form name="calcform" autocomplete="off">
<table class="calc2">
<tr>
<td><label for="x">Fahrenheit:</label></td>
<td><input type="text" id="x" name="x" class="intext" required autofocus></td>
<td class="mathsymbol">°F</td>
</tr>
<tr>
<td> </td>
<td colspan="2">
<button type="button" title="Convert" class="btn" onclick="OnCalc()"><span>=</span> Convert</button>
<button type="reset" title="Reset" class="btn"><span>×</span> Reset</button>
</td>
</tr>
<tr>
<td>Celsius:</td>
<td><input type="text" id="y" class="outtext" readonly></td>
<td class="mathsymbol">°C</td>
</tr>
<tr id="pf1">
<td>Calculation:</td>
<td><textarea id="TA" rows="3" class="outtext" readonly></textarea></td>
<td> </td>
</tr>
</table>
</form>
<script src="../convert.js"></script>
<script>
var xelem=document.getElementById("x");
window.addEventListener("DOMContentLoaded",function() {
xelem.onkeypress = function(e) { if( e.keyCode==13 ) OnCalc(); };
var params=GetURLParams();
if( Object.keys(params).length>0 && params.x!="" ) {
document.title = params.x+" fahrenheit to celsius";
//SetLinks(params);
xelem.value = decodeURIComponent(params.x);
OnCalc();
}
});
function GetURLParams()
{
var url=window.location.href;
var regex = /[?&]([^=#]+)=([^&#]*)/g,
//url = "www.domain.com/?v=123&p=hello",
params = {},
match;
while(match = regex.exec(url)) {
params[match[1]] = match[2];
}
return params;
}
function OnCalc() {
var x = str2num(xelem.value);
var y = (x-32.0)*5.0/9.0;
var yy=roundresult(y);
var txt="("+x+"\u00B0F-32)\u00D75/9\n";
txt+="= "+yy+"\u00B0C";
document.getElementById("y").value = yy;
document.getElementById("TA").value = txt;
}
</script>
</html>
<!-- Unit Conversion Script - TheUnitConverter.com -->
<div style="width:238px;margin:0px auto;">
<div style="width:99.5%;border:
1px solid #2D6AB4;
border-top:none;
border-bottom:none;text-align:center;
height:24px;font-size:16px;padding:5px 0px 0px 0px;
border-top-right-radius:5px;
border-top-left-radius:5px;
background-color:#2D6AB4;
color:#FFFFFF;
font-weight:bold;">
<a href="https://www.theunitconverter.com/" style="color:#FFFFFF;
text-decoration:none;
" rel="nofollow">
Length Conversion</a>
</div>
<script type="text/javascript" src="https://www.theunitconverter.com/converter.php?l=en&t=1&c=0&a=FFFFFF&d=000000&b=2D6AB4&s=length">
</script>
</div>
<!-- End of Unit Conversion Script -->