Validator Errors and the Fix

Hello
I need to understand the mistakes, apply the corrections.
I want to offer a basic page ( http://www.meherbabalibrary.com/babalist/list_g/list_g.html)  and ask for assistance. It is without CSS, with Divs - a basic unpopulated page with navigation bar.
I ran this page through www.validator.w3g.com and validator found 18 errors.
To have explained a few mistakes that will give me an understanding. I need to understand the dynamics that are involved in correcting the mistakes so that I can apply the corrections on this page and other pages that have been created.
For example I have a series of errors on line 111:
<body leftmargin="5" topmargin="5" marginwidth="5" marginheight="5" onLoad="MM_preloadImages('../../buttons/bhr.gif','../../buttons/kkr.gif','../../buttons /dvdr.gif','../../buttons/cjr.gif','../../buttons/avr.gif','../../buttons/bsr.gif','../.. /images/shack/0_Shack_MBBks.jpg')">
<div id="pageContainer">
I see the validator has highlighted in red most of the quotes  - and if I remove all quotes in red and then view the page in web browser most of line 111 is transformed into text. That experiment did not work.
However if I run validator as Group Error Message by Type those reds quote show  "there is no attribute X". I don’t understand this.
On line 115 is another series of errors and again the ' " ' symbols are highlighted in red.
<a href="../../index.htm" target="_top" onClick="MM_nbGroup('down','group1','bhb','',1)" onMouseOver="MM_nbGroup('over','bhb','../../buttons/bhr.gif','',1)" onMouseOut="MM_nbGroup('out')"><img src="../../buttons/bhb.gif" alt="" name="bhb" width="120" height="41" border="0" onload=""></a>Th
I Googled the errors. I am unable to understand the errors and the appropriate method to fix the errors.
there is no attribute "onClick"
there is no attribute "onMouseOver"
there is no attribute "onMouseOut"
there is no attribute "onload"
end tag for "img" omitted, but OMITTAG NO was specified
Thanks for indulging this long query. To wrap up I see in a few lines the "You may have neglected to close an element" supported with 'end tag for "img" omitted, but OMITTAG NO was specified'.
Again I ran validator as ‘Group Error Message by Type’ the end tag for X omitted, but OMITTAG NO was specified".  I hope this question isn’t too long as I really need to learn how to apply fix it routines after running the validator. 
Thanks

You could eliminate many of your errors and code bloat if switched from image based menus to CSS styled text links. 
Below is a quick example (no images required).  Copy & paste this code into a new, blank page.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Document</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
body {
width: 720px;
margin: 0 auto;
nav {
width: 720px;
margin:0 auto;
overflow: hidden; /*to control floats*/
nav ul { margin: 0; padding:0 }
nav li {
margin: 0;
padding: 0;
list-style: none;
float: left;
font-size: 14px;
font-variant: small-caps;
font-weight:bold;
nav li a {
margin: 0;
display: block;
text-decoration: none;
color: #000;
width: 120px;
line-height: 2em;
text-align: center;
/**gradients for various browsers**/
background: rgb(232,240,175); /* Old browsers */
background: -moz-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(232,240,175,1)), color-stop(0%, rgba(232,240,175,1)), color-stop(53%, rgba(162,218,178,1)), color-stop(98%, rgba(150,218,209,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* IE10+ */
background: linear-gradient(to right, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8f0af', endColorstr='#96dad1', GradientType=1 ); /* IE6-9 */
Color format: Comments IE9 Supp
nav li a:hover, nav li a:active, nav li a:focus {
text-decoration: underline;
background: #E8F0AF;
filter:none;
/**clear floats after nav**/
nav:after {
clear: left;
display: block;
</style>
</head>
<body>
<header><img src="http://www.meherbabalibrary.com/logos/Logo10.png" alt="logo" height="128" width="720"> </header>
<nav>
<ul>
<li><a href="#">Baba's Home</a></li>
<li><a href="#">Kalki's Kitchen</a></li>
<li><a href="#">DVD Selection</a></li>
<li><a href="#">Curator's Jive</a></li>
<li><a href="#">Advent Vault</a></li>
<li><a href="#">Baba Splash</a></li>
</ul>
</nav>
<h2>CSS Menu without images</h2>
<p>Simple to edit, no complex scripts or image swap behaviors, less code, easily indexed by search engines, translators and screen readers. </p>
</body>
</html>

Similar Messages

  • HT1222 Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?

    Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?
    I am using windows 7 64

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • I go through the process of burning a DVD from a Premier Pro Project and at the end of the process I get an encoding error and the dvd does not start burning.  How do I fix this?

    I go through the process of burning a DVD from a Premier Pro Project and at the end of the process I get an encoding error and the dvd does not start burning.  How do I fix this?

    adam@honestmusky wrote:
    Yes I am using encore.  I used to have no problem doing this, but I had to get a new computer and now something isn't working right.
    How about some DETAILS?
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    Also describe the EXACT steps you take to go from Premiere Pro to Encore

  • I am running OSX 10.6.8 and when I try to install the latest security update there is an unknown error and the update cannot be implemented. I still have to restart my computer each time I try. Is anyone else experiencing this problem?

    I am running OSX 10.6.8 and when I try to install the latest security update there is an unknown error and the update cannot be implemented. I still have to restart my computer each time I try. Is anyone else experiencing this problem?     
    I tried using the downloaded update. It still didn't work but at least I did not have to restart my computer. The message was a little different too: "The installation failed. The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

    Run through this list of fixes, either something is corrupted or you have malware that's blocking the update.
    ..Step by Step to fix your Mac
    Make sure to backup your users files to a external storage drive first (not only TimeMachine as it may fail to restore) and disconnect, because if' it's a drive corruption/failing then the entire thing will either have to be replaced or a wipe and install done.
    Most commonly used backup methods
    If you do need to do a wipe and install
    How to erase and install Snow Leopard 10.6
    For Snow Leopard Speed Freaks

  • LOV selection fails when there are validation errors on the base page

    Hi
    I have lovs and some other required fields on a page . If there are any validation error on one of those text fields and if I open the LOV (not related to the text fields) and tries to select
    an item from the LOV search results, it doesn't do it until unless I go back to the base page and correct all the validation errors on the text fields eventhough those text fields have nothing to do with the LOV.
    Any suggestion is appreciated.
    Thanks
    Anwar

    I am on Anwar's team, and I've been dealing with the same problem, although on a different page.
    The JSPX for a contrived example is below. I can provide backing bean code, if needed.
    The form contains two LOVs. Both fields are required. If you leave both fields blank and click Continue, you get a red box around both fields and error messages are displayed. If you then click the magnifying glass to select from the first LOV, the LOV pop-up is rendered. However, you cannot make a selection, either by double-clicking a line item or by clicking OK (the OK button has no effect). All you can do is cancel.
    Interestingly, the act of clicking the magnifying glass on the first LOV gets rid of the red box around that field. So, once you cancel out, the second LOV actually does work. If there were more than two fields on the page, that wouldn't happen. The problem seems to be that the LOV doesn't work unless there are no validation errors on the page other than for the LOV which is being invoked.
    As you can see, immediate="true" is set on both LOVs. The behavior is the same whether this is true or not.
    I'm left thinking there must be something obvious that we're missing... but none of us can see it.
    Thanks,
    KEN
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document title="Add Item">
          <af:form>
            <af:panelGroupLayout>
                <af:panelHeader text="Header">
                    <af:panelFormLayout>
                        <af:inputListOfValues label="Id" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierId"
                                              model="#{viewScope.AddItemBackingBean.supplierIdListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.id}"
                                              autoSubmit="true" immediate="true"/>
                        <af:inputListOfValues label="Description" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierDescription"
                                              model="#{viewScope.AddItemBackingBean.supplierDescriptionListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.description}"
                                              autoSubmit="true" immediate="true"/>
                        <f:facet name="footer">
                            <af:panelGroupLayout layout="horizontal" halign="right" >
                              <af:commandButton text="Continue"
                                                actionListener="#{viewScope.AddItemBackingBean.continueAction}"
                                                id="continueButton" />
                            </af:panelGroupLayout>
                        </f:facet>
                    </af:panelFormLayout>
                </af:panelHeader>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope y

    I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope you will find a solution for the same.Help with using Adobe Muse CC

    Thanks,
    I have tried with a new site it's working perfectly.
    See the screenshot of the error.
    Thanks for your support Rohit

  • HT201304 I am trying to use an iTunes card and I keep getting an error and the numbers 5301. Any idea what can be wrong?

    I am trying to use an iTunes card and I keep getting an error and the numbers 5301. Any idea what can be wrong?

    AIrPlay to Apple TV before you attempt Mirroring
    AirPlay Mirroring
    http://support.apple.com/kb/HT5209
    Trouble shooting AirPlay
    http://support.apple.com/kb/TS4215

  • I recently subscribed to Adobe ExportPDF and tried to convert a PDF file to MS Word.  So far,  after many tries,  I get soe type of error and the conversion fails.  Please advise?

    I recently subscribed to Adobe ExportPDF and tried to convert a PDF file to MS Word.  So far,  after many tries,  I get soe type of error and the conversion fails.  Please advise?

    Hi there,
    It sounds like there may be an issue with the quality of the PDF. Not all PDFs are created equal, and especially those created from scanned documents can be problematic if the scan quality isn't the best. Is there a dark background on the PDF, or stray marks or smudges?
    You can try converting with OCR disabled at outlined in this document: How to disable Optical Character Recognition (O... | Adobe Community. But, while that's a good test to find out where the problem lies, you'll end up with a Word document that isn't editable, so it's not an optimal solution.
    Please let us know how it goes.
    Best,
    Sara

  • I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any ideas?

    I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any help appreciated. Very frustrating!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • HT1420 i didnt get my app i had bought be cause of an error and the money i bought my idea with didnt get back to the amount before

    i didnt get my app i had bought be cause of an error and the money i bought my idea with didnt get back to the amount before

    You should be able to download it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your Mac's iTunes.
    If it doesn't show there then was the purchase successful e.g does it show on your purchase history : http://support.apple.com/kb/HT2727 ? If not then it might just be a holding charge, and not a 'proper' purchase charge.
    If it does show on your purchase history, but not in Purchased for redownloading, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com

  • HT5242 I keep getting an error, and the Java Update will not install. What can I do?

    I keep getting an error, and the Java Update will not install. What can I do?

    Never mind. I kept trying, and finally when I opened "About This Mac" and clicked the software update from there (as opposed to the "Software Update" just below), the Java update finally worked.

  • When I sign in to hotmail, my emails appear then I have errors and the page goes blank. Any help ? I'm on OS X 10.5.8

    when I sign in to hotmail, my emails appear then I have errors and the page goes blank. Any help ? I'm on OS X 10.5.8
    Sorry should have said, when I log in my emails pop up momentarily. Then, it seems as if the pages aren't loading. A message comes up on the bottom left that the pages are loading, then errors occur and nothing happens.
    Thanks

    i tried to access kb.mozillazine.org and the following error message was returned:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    The following error was encountered:
    * Read Timeout
    The system returned:
    [No Error]
    A Timeout occurred while waiting to read data from the network. The network or server may be down or congested. Please retry your request.
    Your cache administrator is root.
    Generated Tue, 07 Jun 2011 10:04:45 GMT by sunrise-squid.mz.osuosl.org (squid/2.5.STABLE11)
    I have tried to access your link, or just kb.mozillazine.org several times over the past hour without success...

  • When I try to start Lightroom CC i get the following error and the splash screen freezes An error occurred when attempting to change modules.

    When I try to start Lightroom CC i get the following error and the splash screen freezes An error occurred when attempting to change modules.

    Just had the same issue... went through the steps here: https://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html
    For me it was Solution 5. I had to change permissions and add me as a user (only had system access to the folders).

  • HELP! problem after update OS & email accounts msg 'there was an unexpected error and the operation was cancelled'

    Hello I hope someone can help as i am very upset my BB10 is not functioning.
    I have had this handset 3 months & love it!
    I updated the OS and now on 10.1.0.4181... I had to do a memory swipe as handset working fine until update then it would not make or receive calls hence the swipe also cleaned up emails etc.
    Now when I come to add the email accounts  which it allows but  no emails are received.. I keep getting  this 
    message 'there was an unexpected error and the operation was cancelled.'
    I used to have 2 x virgin media email addresses, 1 x hotmail.co.uk & 1 x [email protected] email address linked to Z10 
    handset and worked perfect..
    What has happened to my phone.. I so need it to operate as before as I use it for work (self employed)
    On the settings the virgin emails will sometimes say not connected.
    I can use the internet & apps ok & text.. but I love the hub and that is not working like it did...
    Can someone please help & advise before I send it to a watery grave...Thanks

    Thanks for the reply
    Can I get you to manually add the live.co.uk email account by changing the incoming mail server to one of these servers: blu-m.hotmail.com, dub-m.hotmail.com, stn-m.hotmail.com, bay-m.hotmail.com, col-m.hotmail.com or snt-m.hotmail.com.
    Then try to add it, let me know if the issue persists.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • My photosmart c4280 has an error and the screen says to turn power off and then on again.

    my photosmart c4280 has an error and the screen says to turn power off and then on again

    Please try temporary connecting your printer to some other power socket, without using any power extention or hub.
    If the same issue persists, contact the local HP Support center, as it seems like and hardware or Power Supply problem.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for