- From: Kevin <lists@kevinhanna.com>
- Date: Fri, 10 Oct 2003 15:07:04 -0400
- To: "Benjamen R. Meyer" <benjamen_r_meyer@mail15.com>
- Cc: www-validator@w3.org
You aren't allowed to have block elements inside of the font tag: http://www.w3.org/TR/html4/present/graphics.html#graphics-fonts If you change it to: <center> <h1><font color="#004FFF">The OS Project</font></h1> <h2><font color="#004FFF">Revolutionizing Computer Operating Systems</font></h2> </center> You should be in good shape. Kevin Benjamen R. Meyer wrote: >Could someone explain to me why the errors below occur when using the HTML >validator? I don't understand the need for the start tags, or why the header >tags should be invalid in their location. > >Please cc me if replying to list as I am not subscribed. (If I have many >more questions, then I might subscribe.) > >Thank you! > >Sincerely, > >Benjamen R. Meyer > >Below are the results of attempting to parse this document with an SGML >parser. > >Line 42, column 12: document type does not allow element "H1" here; missing >one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag > <h1>The OS Project</h1> > ^ >Line 43, column 12: document type does not allow element "H2" here; missing >one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag > <h2>Revolutionizing Computer Operating Systems</h2> > ^ >Source Listing >Below is the source input I used for this validation: > > 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > 2: <html> > 3: <head> > 4: <meta http-equiv="Content-Type" content="text/html; >charset=US-ASCII"> > 5: <title>The OS Project: Winux</title> > 6: </head> > 7: <body bgcolor="#00BFFF"> > 8: <!-- Create the banner --> > 9: <table border="0" width="100%"> > 10: <tr><td width="100%" bgcolor="#FFFFFF"> > 11: <IMG SRC="./graphics/tosp_logo.png" alt="TOSP Logo"> > 12: </td></tr> > 13: </table> > 14: <table width="100%"> > 15: <tr><td> > 16: <table border="0" width="10%" bgcolor="#FFFFFF"> > 17: <tr><td><a href="./index.html">Home</A></td></tr> > 18: <tr><td><hr></td></tr> > 19: <tr><td><A href="./faq.html">FAQ</A></td></tr> > 20: <tr><td><a href="./license.html">License</A></td></tr> > 21: <tr><td><a href="./mailing.html">Mailing Lists</A></td></tr> > 22: <tr><td><a href="./news.html">News</A></td></tr> > 23: <tr><td width="100%"><a >href="./Requirements/">Requirements</A></td></tr> > 24: <tr><td><hr></td></tr> > 25: <tr><td width="100%"><a >href="./Downloads/">Downloads</A></td></tr> > 26: <tr><td width="100%"><a href="./tools.html">Tools</A></td></tr> > 27: <tr><td><hr></td></tr> > 28: <tr><td width="100%"><a >href="./resources.html">Resources</A></td></tr> > 29: <tr><td width="100%"><a href="./Unofficial_Docs/">Unofficial >Document Repository</A></td></tr> > 30: </table> > 31: </td> > 32: <td> > 33: <table width="100%" bgcolor="#00BFFF"><tr><td> > 34: <!-- Put main page here! --> > 35: 2003-10: Well, I've finally updated the webpage for the >project. Our web team never > 36: around to producing a webpage, and I needed to do something for the >project, so here > 37: we are. If there are any problems or if you would like to help out >by keeping the > 38: website up to date, then please e-mail me at <a >href="mailto:shounin@users.sourceforge.net">shounin@users.sourceforge.net</a > > >>.<BR> >> >> > 39: <hr> > 40: <center> > 41: <font color="#004FFF"> > 42: <h1>The OS Project</h1> > 43: <h2>Revolutionizing Computer Operating Systems</h2> > 44: </font> > 45: </center> > 46: The OS Project is designed to produce a product we are calling >'Winux'. The goal is to > 47: make an operating system that is fully compatible with Microsoft >Windows (but without > 48: all the problems), maintaining a similarly well-designed interface, >and fully open > 49: source. The name Winux comes from "Windows" + "Linux", and is, at >least for now, only > 50: a codename. I do not know what the final product will actually be >called. For more > 51: information, please visit the FAQ, News, and Requirements pages on >this site. > 52: <!-- End main page here --> > 53: </td></tr></table> > 54: </td></tr> > 55: </table> > 56: <a href="http://sourceforge.net"> > 57: <!-- This is simply to do development off-line. Restore this link >before making public. --> > 58: <img src="http://sourceforge.net/sflogo.php?group_id=46266" >width="210" height="62" border="0" alt="SourceForge Logo" align="left"> > 59: <!-- > 60: <img src="./graphics/sf_logo.gif" width="210" height="62" >border="0" alt="SourceForge Logo" align="left"> > 61: --> > 62: </a> > 63: <address> > 64: This site hosted by <a >href="http://sourceforge.net">SourceForge.net</a> All rights reserved(r). > 65: </address> > 66: </body> > 67: </html> > >
Received on Friday, 10 October 2003 15:07:15 UTC