FAQs
Search
Recent Topics
Flagged Topics
Hot Topics
Best Topics
Register / Login
Win a copy of
Mastering Corda: Blockchain for Java Developers
this week in the
Cloud/Virtualization
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Bear Bibeault
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
Tim Cooke
Junilu Lacar
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Jj Roberts
Carey Brown
Bartenders:
salvin francis
Frits Walraven
Piet Souris
Forum:
HTML Pages with CSS and JavaScript
HTML validation errors
polo rao
Greenhorn
Posts: 8
posted 10 years ago
Hi , i was trying to validate my HTML page at W3C . , but i was getting errors for which i could not figure out the answers. Can somebody please guide me with the errors
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Help: Account Needed to See Formulas - Corp. - Automotive Paints</title> <link rel="stylesheet" href="/css/oldstyle-toberemovedlater.css" media="screen" type="text/css" /> <script type="text/javascript" > <!-- if(document.images) { im1_in = new Image(92,29); im1_out = new Image(92,29); im2_in = new Image(80,29); im2_out = new Image(80,29); im3_in = new Image(68,29); im3_out = new Image(68,29); im4_in = new Image(93,29); im4_out = new Image(93,29); im1_in.src = "/images/help/nav_index_pop_up_on.gif"; im1_out.src = "/images/help/nav_index_pop_up_off.gif" im2_in.src = "/images/help/nav_previous_pop_up_on.gif"; im2_out.src = "/images/help/nav_previous_pop_up_off.gif"; im3_in.src = "/images/help/nav_next_pop_up_on.gif"; im3_out.src = "/images/help/nav_next_pop_up_off.gif"; im4_in.src = "/images/help/nav_close_pop_up_on.gif"; im4_out.src = "/images/help/nav_close_pop_up_off.gif"; } function rollover(imgName) { if(document.images) { imgIn=eval(imgName + "_in.src"); document [imgName].src=imgIn; } } function rollout(imgName) { if(document.images) { imgOut=eval(imgName + "_out.src"); document [imgName].src=imgOut; } } function link_to_opener(url) { window.opener.location=url; window.opener.focus(); window.close(); } //--> </script> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="javascript:document.focus();"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td align="center" bgcolor="#476F8E"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td bgcolor="#476F8E" colspan="5"><img src="/images/help/top_pop_up.gif" width="400" height="41" alt="Help Section"></img></td> </tr> <tr> <td width="34" bgcolor="#476F8E"><img src="/images/blank_dot.gif" width="34" height="29" border="0" alt ="Blank Dot"></img></td> <td width="92"><a href="/help/popup/default.cfm" onMouseOver="rollover('im1')" onMouseOut="rollout('im1')"><img src="/images/help/nav_index_pop_up_off.gif" name="im1" width="92" height="29" border="0" alt="Index"></img></a></td> <td><img src="/images/help_center_shim.gif" border="0" width="148" height="29" alt ="help center"></img></td> <td width="93"><a href="javascript:window.close();" onMouseOver="rollover('im4')" onMouseOut="rollout('im4')"><img src="/images/help/nav_close_pop_up_off.gif" name="im4" width="93" height="29" border="0" alt="Close"></img></a></td> <td width="33" bgcolor="#476F8E"><img src="/images/blank_dot.gif" width="33" height="29" border="0" alt="Blank dot"></img></td> </tr> </table> </td> </tr> </table> <div align="left" style="padding-left:5px;"> <table cellpadding="0" cellspacing="0" border="0" width="95%"> <tr> <td> <h2 align="center">FormulaExpress<sup><span class="breadcrumbs_sup">TM</span></sup> Support Files</h2> <table cellpadding="4" cellspacing="0" border="0"> <tr> <td valign="middle"> <img src="breadcrumbs_logo.gif" height="20" width="11" border="0" alt ="Logo"> </img> </td> <td valign="middle"> <span class="breadcrumbs_title">You are here: </span> </td> <td valign="middle"> <span class="breadcrumbs"> <a href="default.cfm">Help : FormulaExpress<SUP><span class="breadcrumbs_sup">TM</span></SUP></a> > Support Files </span> </td> </tr> </table> <p><h4>FIX: Internet Scale takes a long time to start</h4> <p>Download and extract invalidateScaleResults.zip to your desktop and run invalidateScaleRestuls.bat</p> <li><a href="/shared/formula/scale/support/invalidateScaleResults.zip">Download invalidateScaleResults.zip</a></li> <p><h4>Registry Fix for Scale Control and Internet Explorer 7</h4> <p>Download and extract ie7patch.zip to your desktop and run ie7patch.reg</p> <li><a href="http://www.ie7patch.zip">Download ie7patch.zip</a></li> <br><Br> </td> </tr> <tr> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td bgcolor="#476F8E" colspan="6" align="center"> <font color="ffffff">© Corp.</font> </td> </tr> </table> </tr> </table> </div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-2758598-6"); pageTracker._initData(); pageTracker._trackPageview(); </script> </body> </html>
Ulf Dittmer
Rancher
Posts: 43016
76
posted 10 years ago
What errors are there? In which lines?
TellTheDetails
Eric Pascarello
author
Posts: 15385
6
posted 10 years ago
Most of your errors are you are using outdated HTML attributes instead of CSS.
body { margin-top: 100px; margin-bottom:200px; }
You are not closing your empty tags
These tags
<img src="foo.jig > <br>
should be:
<img src="foo.jig /> <br/>
Your tag names should all be in lowercase.
You JavaScript event handlers should all be in lowercase [not camel case]
Eric
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
dispaly image in jsp page
reg html tables
Page displaying in IE6 and older versions but not in Higher versions, chrome and firefox also.
tiles and <sx:autocompleter>
How many people share your name?
More...