HTML - Html Errors In Site
Similar TutorialsHi, On IE I find 2 errors on a site I'm working on, not sure what to make of it? www.concilium.co.za/cms Can anyone give advice please? I am working on a blog site with embeded videos and I keep getting the error icon at the bottom right. It always shows up on any video posts. Anybody got any pointers or want to review the code? I created it with wordpress. The main page loads with errors only if a video post is there. if its only regular posts such as picture posts, there are no errors, and the individual video posts have the same error. Any help or ideas would be greatly appreciated. Before you click the link, it does contain adult material. ** link removed ** edit: this is my first site using wordpress and I have very little experience with html, only self taught . Hi, I ran a code validation on my site (www.improvizations.com), it came back with 11 errors. Many of them look like this: Line 9, Column 31: there is no attribute "leftmargin". <body topmargin="0" leftmargin="0" marginwidth="0" rightmargin ="0" marginheight and this: Line 15, Column 43: required attribute "alt" not specified. <div id="logo"><img src="images\logo.gif" /></div> How do I fix this? Also, my site looks fine in IE but awful in Firefox. What's going on? Any help would be greatly appriciated. I'm a newbie with all of this. Thanks!! I am wondering if it is possible to create an INDEX.HTML to redirect to another website? I would like it to display the redirected site, but if possible keep to the original address.. e.g. A site named www.mysite.com, with an INDEX.HTML to redirect to www.othersite.com, which displays OTHERSITE with www.mysite.com in the address bar. Hope I explained ok, any responce would be much appricated! Thanks! hi friends I am looking for an online tool which will list all the class name that are referenced in a web page and aren't defined in a CSS. for eg: <div class="button"> but classname "button" is not defined anywhere in stylesheet. please suggest me any tool which can help me. thanks to all for ur time and effort. When I load my website, in the down left corner I got a message of Done, but with errors when checking the errors i get this descriptuion Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E) Timestamp: Wed, 4 May 2011 12:59:43 UTC Message: 'null' is null or not an object Line: 29 Char: 1474 Code: 0 URI: http://maps.gstatic.com/intl/en_us/m...3/4/12/main.js what's the problem? I've got 2 pages with in total 8 errors I can't get them fixed. Could someone please help me? first page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Faccount.php%3Fuser%3Dlisa&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1 &group=0&verbose=1&user-agent=W3C_Validator%2F1.2#line-81 and second page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Freageer.php%3Fuser%3Ddon%26id%3D40&charset=%28detect+automatically%29&doctype=Inline&ss=1& outline=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.2 I've tried everything. All my other pages are valid except those 2. Kind regards & thanks in advantage, I'm not sure what these errors mean. I am using HTML 4.01 Strict! Errors highlighted in red. 1) Line 8, Column 77: NET-enabling start-tag requires SHORTTAG YES. js/ddaccordion.js" type=text / javascript></script> The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. 2) Line 2, Column 12: there is no attribute "XMLNS". <html xmlns= " http://www.w3.org/1999/xhtml" xml:lang="en"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).... 3) Line 2, Column 52: there is no attribute "XML:LANG". <html xmlns="http://www.w3.org/1999/xhtml" xml:lang= " en"> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).... Hi guys, I have a html template I use a lot that I have been adding/removing bits for ages. The output (when viewed in a browser) is just what I need but I think the coding behind it may have become a bit messey. Ive tried to tidy the coding up a bit but im not very good with html tables and everything falls apart. If someone could have a look and remove anything that is not needed (coding)it would be very much appricated. Code: <TABLE align=center border=2> <TR vAlign=top> <TD colSpan=2> <CENTER><BR><FONT size=2><A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS" target=_blank><IMG alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/Top.BargainLogo.gif" border=0></A> <BR><BR>Purchase With Confidence. <A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS"><I>VIEW FEEDBACK.</I></A> A Trusted eBay Power Seller. <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain"><IMG src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/aboutme-small.gif" border=0> </A><p></CENTER></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Description:</B></TD> <TD rowSpan=6><IMG height=600 alt="Picture Name" src="URL" width=300> </TD></TR> <TR vAlign=top> <TD><BR> <UL><FONT size=2>DESCRIPTION <P> <LI> <LI> <LI> <P> </P> <LI> <LI> </UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Postage:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <UL> <LI><FONT size=2>Please Check Table At Bottom For UK Postal Rates <LI>Fast Delivery Via An Insured/Traceable Courier <LI>Please Click <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain" border="0"><IMG src="http://pics.ebaystatic.com/aw/pics/uk/aboutme-small.gif" border=0></A> For Full Details.</LI></UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Payment Methods:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <P align=center><A href="http://www.paypal.co.uk/uk" target=_blank><IMG style="WIDTH: 253px; HEIGHT: 56px" height=52 alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/PaypalLogo.gif" width=253 border=0></A></P> <UL> <LI><FONT size=2><I>Bank Transfer. <LI>Money/Postal Orders and Cheques Accepted.<FONT color=white>.................. </FONT> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> Hello, on my page i am having 3 problems at the moment. >>The first, is that in firefox my page is centered, and in IE it is not. >>The second, is that my navigation bar (in a table) seems to be putting a pixel in between my image links, EVEN THOUGH i have specified border="0" and border:0 in my css and my html. >>The third, is that 4 images arent showing up (on test.html), but i can click on the area where they SHOULD be showing up, and use them as invisible links. I want the images to show up. I must also specify that i am working to make it look perfect in FIREFOX, but if you could suggest anything that would improve it visually in IE too, that would be a bonus. Thanks in advance if you can help me! I've included a zip of the files rather than pasting all the code. Thanks again. Hi all, I use this template quite a lot and was wondering if someone could have a look at the coding and remove any errors? Code: <!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> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/> <link rel="shortcut icon" href="img/favicon.ico" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <title>Top Bargain</title> </head> <body> <table align=center border=2> <tr vAlign=top> <td colSpan=2> <center> <br /> <font size=2><a href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=StrK:ME:UFS" target="_blank"><img src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/Top.BargainLogo.gif" alt="TopBargain" border="0" /></a> <br /> <br /> Purchase With Confidence. <a href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=StrK:ME:UFS"><em>VIEW FEEDBACK.</em></a> A Trusted eBay Power Seller. <a href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain"><img src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/aboutme-small.gif" border="0"> </a><p> </font> </center> </td> </tr> <tr vAlign=top> <td> <h3 align=center>Description:</h3> </td> <td rowSpan=6> <img src="URL" width="300" height="600" alt="Picture Name" /> </td> </tr> <tr vAlign=top> <td> <br /> <ul> <font size=2><p>DESCRIPTION</p> <li></li> <li></li> <li></li> <li></li> <li></li> </font> </ul> </td> </tr> <tr vAlign=top> <td> <h3 align=center>Postage:</h3> </td> </tr> <tr vAlign=top> <td> <br /> <ul><font size=2> <li>Please Check Table At Bottom For UK Postal Rates</li> <li>Fast Delivery Via An Insured/Traceable Courier</li> <li>Please Click <a href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain" border="0"><img src="http://pics.ebaystatic.com/aw/pics/uk/aboutme-small.gif" border=0 /></a> For Full Details.</li> </font> </ul> </td> </tr> <tr vAlign=top> <td> <h3 align=center>Payment Methods:</h3> </td> </tr> <tr vAlign=top> <td> <br /> <p align=center><a href="http://www.paypal.co.uk/uk" target=_blank><IMG style="WIDTH: 253px; HEIGHT: 56px" height=52 alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/PaypalLogo.gif" width=253 border=0></a></p> <ul><font size=2> <li><em>Bank Transfer.<em></li> <li>Money/Postal Orders and Cheques Accepted.<FONT color=white>.................. </font> </body> </html> I had to use that color=white....... piece otherwise the table is too small, can not find a solution to using something else. Any help appriciated. Thanks suppose you see a html layout having some alignment problems or image placement problems, what steps do you follow to solve the problem? I need to write a document on error handling in HTML and CSS so any help please? [quote]Hi All, :) BEGINNER WILLING TO PAY/DONATE www.htmlforums.com OR (YOU IF AUTHORIZED) $25.00 (TWENTY FIVE DOLLARS) FOR YOUR HELP, CORRECTING SOME BASIC MISTAKES. THE SIMPLE SITE CAN BE VIEWED CORRECTLY FROM HERE (CLICK BELOW). BUT NOT WITH INTERNET EXPLORER. Mistakes started to appear, when a simple Drop Down Menu was used. Mistakes with the basic tags <head></head>, <body></body>, <br/>, <html></html>, doc type, etc. [size="7"]The site can be viewed with all browsers, except with Internet Explorer 7, 8 and 9, which doesn't display the pictures, and / or the TWO newsletters CORRECTLY. It can be seen correctly with I.E.6, Google Chrome, Mozilla Firefox, Safari, Flock, Opera, etc. I can see the site using I.E. 7-9 with out the drop down menu. I was told, that Internet Explorer is "The only MISTAKE unforgiving BROWSER". PLEASE HELP! Help and or any tip, suggestions, etc, will be greatly appreciated. THE SITE WAS MADE TO HELP THE HOMELESS. IT IS A NON PROFIT SMALL ORG. WWW.HOMELESS-FORUM.ORG, WHO DOESN'T HAVE MONEY TO PAY. http://www.homeless-forum.org BUT I AM WILLING TO DONATE THE $25.00 TO WWW.HTMLFORUMS.COM FOR YOUR HELP. PS. SOME MISTAKES LEFT ON PURPOSE TO EXPLAIN TO YOU, WHAT THINGS WE WOULD LIKE TO DO. I.E. a PDF.FILE as 1ST PAGE. SELECTION BOX BETTER LOOKING, ANOTHER OPTION to go to GOOGLE, IMPROVE SITE A LITTLE IF YOU CAN, ETC. THE FOLLOWING IS THE INDEX FILE WE NEED TO CORRECT: WEBSITE html://www.homeless-forum.org Code: <!DOCTYPE html> <html> <head> <title>HELP THE HOMELESS!</title> <body> <script type="text/javascript"> window.onload=function() { document.getElementById('NewsletterList').onchange=function() { window.location=('http://www.homeless-forum.org/'+this.value+''); } } </script> <br> <select id="NewsletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX<br/></a>. <option value=""><b> PLEASE SELECT<b/></option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://can-Imake-pdf-file-1stPage?.pdf" type="application/pdf"> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="option2">Option #2</option><!--this option takes you to --> <option value="option3">Option #3 </option><!--this option takes you to --> <option value="option4"><br>Option #4</br></option><!--this option takes you to --> <option value="option5">Option #5</option><!--this option takes you to --> <option value="option6">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> <html xmlns:v="urn:schemas-microsoft-com:vml" ............... </body> </html> hello i have a page 'gallery.html' that i want to show up when the URL www.site.com/gallery is requested. how do i achieve this? thanks in advance rlbw Hello Everyone, Please help in build the code for the site , the layout should be as the below layout , I need to submit this by today EOD. Image Link1: http://8648180184665331224-a-1802744...attredirects=0 Image Link 2: http://8648180184665331224-a-1802744...attredirects=0 Please mail me the code ASAP. Thanks and Regards, ceenuu2002@gmail.com ok here is my site http://navysealsrpg.proboards107.com/ here is the site with the text area at the top that i want http://iluvemykats.proboards31.com/index.cginotice the area with the weather etc. What is the HTML for that. LOL i need major help. i have an html site, my problem is at the bottom just below the banner the grey doesn't join to the banner not sure if you want my code or not so here it is. www.jasongold.org Code: <!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> <link href="css.css" media="all" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Jason Gold Photography</title> <HTML> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <HEAD> <style type="text/css"> <!-- .style8 { font-family: "Times New Roman", Times, serif; font-size: 16px; color: #FFFFFF; font-weight: bold; } .style10 { font-family: "Times New Roman", Times, serif; color: #9C9A9C; font-weight: bold; font-size: 12px; } .style11 { font-family: "Times New Roman", Times, serif; font-size: 16px; color: #a5a2b5; font-weight: bold; } .style13 { font-size: 24px; color: #ad9ea5; font-weight: bold; } .style14 { font-size: 24px; color: #ad9ea5; } .style6 { font-size: 12px; color: #FFFFFF; } .style15 {color: #666666} --> </style> <script language="JavaScript"> <!-- function mmLoadMenus() { if (window.mm_menu_0517113603_0) return; window.mm_menu_0517113603_0 = new Menu("root",82,18,"Times New Roman, Times, serif",12,"#A5A2B5","#A5A2B5","#10419C","#183484","left","middle",3,0,1000,-5,7,true,false,true,0,true,true); mm_menu_0517113603_0.addMenuItem("New item"); mm_menu_0517113603_0.hideOnMouseOut=true; mm_menu_0517113603_0.bgColor='#555555'; mm_menu_0517113603_0.menuBorder=1; mm_menu_0517113603_0.menuLiteBgColor='#FFFFFF'; mm_menu_0517113603_0.menuBorderBgColor='#777777'; window.mm_menu_0517114902_0 = new Menu("root",100,32,"Times New Roman, Times, serif",26,"#A5A2B5","#A5A2B5","#183484","#10459C","left","middle",3,1,1000,-5,7,true,false,true,0,false,false); mm_menu_0517114902_0.addMenuItem("New item"); mm_menu_0517114902_0.hideOnMouseOut=true; mm_menu_0517114902_0.bgColor='#555555'; mm_menu_0517114902_0.menuBorder=1; mm_menu_0517114902_0.menuLiteBgColor='#FFFFFF'; mm_menu_0517114902_0.menuBorderBgColor='#777777'; window.mm_menu_0517112746_0 = new Menu("root",84,34,"Times New Roman, Times, serif",14,"#A5A2B5","#A5A2B5","#183484","#FF6600","left","middle",10,1,500,-5,7,true,false,true,0,true,true); mm_menu_0517112746_0.addMenuItem("Cottages","location='cottage.htm'"); mm_menu_0517112746_0.addMenuItem("Flats","location='flats.htm'"); mm_menu_0517112746_0.addMenuItem("Chalets","location='chalets.htm'"); mm_menu_0517112746_0.addMenuItem("Caravans","location='caravans.htm'"); mm_menu_0517112746_0.fontWeight="bold"; mm_menu_0517112746_0.hideOnMouseOut=true; mm_menu_0517112746_0.bgColor='#FFFFFF'; mm_menu_0517112746_0.menuBorder=1; mm_menu_0517112746_0.menuLiteBgColor='#FF0000'; mm_menu_0517112746_0.menuBorderBgColor='#777777'; window.mm_menu_0610134352_0 = new Menu("root",124,34,"Times New Roman, Times, serif",14,"#A5A2B5","#A5A2B5","#183484","#FF6600","left","middle",10,1,500,-5,7,true,false,true,0,true,true); mm_menu_0610134352_0.addMenuItem("Prices","location='prices.html'"); mm_menu_0610134352_0.addMenuItem("Book a Holiday","location='bookaholiday.html'"); mm_menu_0610134352_0.fontWeight="bold"; mm_menu_0610134352_0.hideOnMouseOut=true; mm_menu_0610134352_0.bgColor='#FFFFFF'; mm_menu_0610134352_0.menuBorder=1; mm_menu_0610134352_0.menuLiteBgColor='#FF0000'; mm_menu_0610134352_0.menuBorderBgColor='#777777'; mm_menu_0610134352_0.writeMenus(); } // mmLoadMenus() //--> </script> </head> <body> <table width="999" height="534" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th height="17" colspan="3" bgcolor="#999999" scope="col"> </th> </tr> <tr> <td width="200" height="89" bgcolor="#000000"><div align="center"><img src="logo.jpg" width="200" height="100" /></div></td> <td width="494" rowspan="2" bgcolor="#000000"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="440" height="165"> <param name="movie" value="homepagetransitionnew.swf" /> <param name="quality" value="high" /> <embed src="homepagetransitionnew.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="165"></embed> </object></td> <td width="305" rowspan="2" valign="middle" bgcolor="#000000"><div align="center"><span class="style13"><span class="style15"><strong>Jason Gold<br /> Photography</strong></span><br /> </span><strong><span class="style14"></span></strong></div></td> </tr> <tr> <td rowspan="2" bgcolor="#333333"><p align="center" class="style8">Home</p> <p align="center" class="style11"><a href="portfolio.html" class="style11">Portfolio</a><br /> <br /> <br /> <a href="about.html" class="style11">About</a><br /> <br /> <br /> <a href="contact.html" class="style11">Contact</a><br /> <br /> <a href="file:///F|/web design/assignment 2/requestabrochure.html" class="style11"><br /> </a><a href="index.php" class="style11">Order</a></p> </td> </tr> <tr> <td height="190" valign="top" bgcolor="#000000"><div align="center" class="style11"> <p align="center"><br /> Jason Gold is a highly committed and Professional Photographer with more than 25years experience in his field. His Talent as a photjournalist has taken him to many parts of the world. He specializes in Portraits,War,Fashion,Landscapes and Travel. His passion for people,places and photography makes him sensitive to the natural beauty that surrounds him no matter where it may be, capturing that moment of beauty, often in the most unlikely situations.<font size="2"><br /> </font> </p> </div></td> <td align="center" valign="top" bgcolor="#000000"><div align="left"> <p align="left"><img src="homepage.jpg" width="298" height="158" /></p> <p> </p> </div></td> </tr> <tr> <td height="83" bgcolor="#9C9A9C"><div align="center" class="style10"></div></td> <td bgcolor="#333333"> </td> <td align="right" valign="top" bgcolor="#333333"><p align="right"><a href="#"></a> <a href="#"></a></p></td> </tr> <tr> <td height="52" colspan="3"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','999','height','100','src','banner','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','banner' ); //end AC code </script> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="999" height="100"> <param name="movie" value="banner1.swf" /> <param name="quality" value="high" /> <embed src="banner1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="999" height="100"></embed> </object></td> </tr> <tr> <td height="17" colspan="3" bgcolor="#999999"><div align="right" class="style6"></div></td> </tr> </table> </body> </html> any help will be much appreciated Okay I'll be very happy of any help I get. So I know something about html- code but not enough. I need to create a site witch has a background image, centered switching page(like example: http://www.oipolloi.com/), and three links: Home, Gallery and Contact. Thanks already. |