Can Anyone Help Me With XHTML Validation?

Discussion in 'HTML & Website Design' started by theblurr5495, Dec 23, 2009.

  1. #1
    I really need help fixing some of the html errors in Web Journey. If you look at the XHTML validation, you will see that a lot of the error are based on the same thing. Can anyone tell me what I need to do to correct them.
     
    theblurr5495, Dec 23, 2009 IP
  2. Freditpl

    Freditpl Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Freditpl, Dec 23, 2009 IP
  3. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It would take some time to go through all those errors, but here are the first few in the list:
    You have improperly nested an h2 and h3 tag and used a deprecated font tag all in the same line of code:
    <a href="http://www.webjourney.me/blogging-guide"><h2>Blogging Guide</h2><h3><font color="white">Make Your Blog Awesome</h3></a>
    HTML:
    You cannot put h1,h2,h3 etc. or any other block element inside an inline element (i.e. <a> tag). h2 = block, a = inline. Get it???
    Instead, do something like this:

    <h2><a href="http://www.webjourney.me/blogging-guide">Blogging Guide</a></h2>
    <h3 class="subHeading"><a href="http://www.webjourney.me/blogging-guide">Make Your Blog Awesome</a></h3>
    HTML:
    And then in your style sheet make the h3 font white:
    .subHeading{
    color: #fff;
    }
    Code (markup):
    This replaces the no longer used <font> tag
     
    jwitt98, Dec 23, 2009 IP
    theblurr5495 likes this.
  4. m7md_cis

    m7md_cis Peon

    Messages:
    91
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    
    
    Use this DOCTYPE
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    rather than 
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    
    Because (strict doctype) doesn't allow use some tages like
    (<font> , <center>, ...)
    
    
    Code (markup):

    Use this code for main page, I solved many of the errors ... Enjoy!
    
    
    <!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" dir="ltr" lang="en-US">
     
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Write</title>
    <link rel="alternate" type="application/rss+xml" title="Web Journey &raquo; Write Comments Feed" href="http://www.webjourney.me/become-a-guest-writer/feed" />
    <link rel="stylesheet" id="wp_greet_box_style-css"  href="http://www.webjourney.me/wp-content/plugins/wp-greet-box/css/wp-greet-box.css?ver=2.9" type="text/css" media="all" />
    <link rel="stylesheet" id="wp-polls-css" href="http://www.webjourney.me/wp-content/plugins/wp-polls/polls-css.css?ver=2.50" type="text/css" media="all" />
    <script type="text/javascript" src="http://www.webjourney.me/wp-includes/js/jquery/jquery.js?ver=1.3.2"></script>
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.webjourney.me/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.webjourney.me/wp-includes/wlwmanifest.xml" /> 
    <link rel="canonical" href="http://www.webjourney.me/become-a-guest-writer" />
    <style type="text/css">.addtoany_share_save img{border:0;}</style>
    <link rel="stylesheet" href="http://disqus.com/stylesheets/webjourney/disqus.css?v=2.0" type="text/css" media="screen" />
    	<style type="text/css" media="screen">
    	a#ribbon {
    	position: absolute;
    	top: 0px;
    	right: 0px;
    	display: block;
    	width: 129px;
    	height: 129px;
    	background: transparent url(http://www.webjourney.me/wp-content/plugins/nofollow-free/images/css_nofollow_badgeredright.gif) no-repeat top left;
    	text-indent: -999em;
    	text-decoration: none;
    	z-index: 1000;
    	}
    	</style>
     
    <!-- Wordpress Popular Posts v1.4.6 -->
    <link rel="stylesheet" href="http://www.webjourney.me/wp-content/plugins/wordpress-popular-posts/style/wpp.css" type="text/css" media="screen" />
    <!-- Wordpress Popular Posts v1.4.6 -->
    <style type="text/css"> 
    .wp-polls .pollbar {
    	margin: 1px;
    	font-size: 6px;
    	line-height: 8px;
    	height: 8px;
    	background-image: url(http://www.webjourney.me/wp-content/plugins/wp-polls/images/default/pollbg.gif);
    	border: 1px solid #c8c8c8;
    }
    </style>
     
    <link rel="canonical" href="http://www.webjourney.me/become-a-guest-writer" />
    <meta name="wp_theme" content="Thesis 1.6" />
     
    <link rel="stylesheet" href="http://www.webjourney.me/wp-content/themes/thesis_16/style.css?112909-184849" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="http://www.webjourney.me/wp-content/themes/thesis_16/custom/layout.css?122209-220440" type="text/css" media="screen, projection" />
    <!--[if lte IE 7]><link rel="stylesheet" href="http://www.webjourney.me/wp-content/themes/thesis_16/lib/css/ie.css?112909-184849" type="text/css" media="screen, projection" /><![endif]-->
    <link rel="stylesheet" href="http://www.webjourney.me/wp-content/themes/thesis_16/custom/custom.css?122309-221533" type="text/css" media="screen, projection" />
     
    <link rel="alternate" type="application/rss+xml" title="Web Journey RSS Feed" href="http://feeds2.feedburner.com/webjourney/oUfK" />
    <link rel="pingback" href="http://www.webjourney.me/xmlrpc.php" />
     
    <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="http://www.webjourney.me/wp-content/themes/thesis_16/custom/jquery-ui-personalized-1.5.2.packed.js"></script>
    <script type="text/javascript" src="http://www.webjourney.me/wp-content/themes/thesis_16/custom/sprinkle.js"></script>
    <style type="text/css">
    .recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}
    </style>
     
    </head>
     
    <body class="custom become-a-guest-writer">
     
    <div id="container">
    <div id="page">
    <ul class="menu">
    <li class="tab tab-home"><a href="http://www.webjourney.me">Home</a></li>
    <li class="tab tab-1"><a href="http://www.webjourney.me/about" title="About">About</a>
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="submenu submenu-1">
    <li class="item item-1"><a href="http://www.webjourney.me/about/contact" title="Contact">Contact</a></li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li class="tab tab-2"><a href="http://www.webjourney.me/archive" title="Archive">Archive</a></li>
    <li class="tab tab-3 current"><a href="http://www.webjourney.me/become-a-guest-writer" title="Write">Write for Us</a></li>
    <li class="tab tab-4"><a href="http://www.webjourney.me/best-of-web-journey" title="Best of Web Journey">Best of Web Journey</a></li>
    </ul>
    	<div id="header">
    		<p id="logo"><a href="http://www.webjourney.me">Web Journey</a></p>
    	</div>
    	<div id="content_box">
    		<div id="column_wrap">
    		<div id="content">
     
    <div id="feature_box">
    	<div id="my-feature-box">
    			<div id="feature-box-column-left">
    				
                    <h2>
                    <a href="http://www.webjourney.me/blogging-guide">
                    Blogging Guide
                    <span style="color:#ffffff">Make Your Blog Awesome</span>
                    </a>
                    </h2>
                    <br /><br />
                    <h2>
                    <a href="http://www.webjourney.me/category/online-writing">
                    Write Better Content
                    <span style="color:#ffffff">Learn Online Writing</span>
                    </a>
    				</h2>
    			</div>
    			<div id="feature-box-column-right">
                    <h2>
    				<a href="http://www.webjourney.me/category/make-money-online">
                    Make Money Online
                    <span style="color:#ffffff">Learn How</span>
                    </a>
                    </h2>
                    <br /><br />
                    <h2>
                    <a href="http://www.webjourney.me/category/seo">
                    Learn SEO
                    <span style="color:#ffffff">Get Easy Traffic</span>
                    </a>
                    </h2>
    			</div>
    	</div></div>
    			<div class="post_box top" id="post-53">
    				<div class="headline_area">
    					<h1>Write</h1>
    				</div>
    				<div class="format_text">
    <div id="greet_block"><noscript><div class="greet_block"><div class="greet_text"><div class="greet_image">
    <img src="http://www.webjourney.me/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon" /></div>Hello there! If you are new here, you might want to <a href="http://www.webjourney.me/feed/rss" rel="nofollow"><strong>subscribe to the RSS feed</strong></a> for updates on this topic.<div style="clear:both"></div><div class="greet_block_powered_by"><a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin">Powered by WP Greet Box</a></div></div></div><div style="clear:both"></div></noscript></div><h3>You Will Love Web Journey’s Unique Writing Program</h3>
    <p>You want money. &nbsp;You want promotion. &nbsp;You want higher traffic. &nbsp;You want more comments. &nbsp;You want more Seo benifits. &nbsp;Well, I assume you do. &nbsp; If you don’t you can stop reading. &nbsp;</p>
    <p>But if you do like that stuff, Web Journey’s writing program is for you. &nbsp;Here’s how it works.</p>
    <h3>The Writer Levels</h3>
    <p>Guest writer: Guest writers are writers who write 3 articles or less. &nbsp;They get 2 Dofollow links, and a short author bio on the articles that they writer. &nbsp;Guest writers will quickly be forgotten by Web Journey’s community. &nbsp;</p>
    <p>Writer: &nbsp;When you writer your 4th article for Web Journey you become a writer. &nbsp;Writers get all the things that they previously got as Guest writers. &nbsp;They also get there own page on Web Journey that they can use to promote themselves.</p>
    <p>Premium Writer: &nbsp;With 20 articles, you will become a premium writer. (I also have to approve you myself) &nbsp;You can now post articles without my permission. &nbsp;You also get a link to your blog or website in Web Journey’s sidebar. &nbsp;Premium writers can use anchor text for their links.</p>
    <p>Guru Writer: You are amazing. &nbsp;All your articles are of the highest qualitiy, and you promote all your articles and the blog in general. &nbsp;You need to have written 40 articles to become a guru writer. &nbsp;You can monotize your posts in any way, and you get free advertising on Web Journey.</p>
    <h3>Writing Guidelines&nbsp;</h3>
    <ul>
    <li>Must be edited and spell checked.</li>
    <li>Must be quality. &nbsp;It cannot be a repititive article.</li>
    <li>Must reply to all quality comments.</li>
    </ul>
    <p>Please email me@webjourney.me to apply to be a guest writer.&nbsp; Then <a target="_blank" href="http://www.webjourney.me/wp-login.php?action=register">register for an account.</a>  In the email write the websites you designed or previous works.&nbsp; We are currently working on the guest writer program right now so stay tuned.</p>
    <p>When you guest post you will get a bio and a link to your site.</p>
    <p class="addtoany_share_save_container">
        <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Web%20Journey&amp;siteurl=http%3A%2F%2Fwww.webjourney.me%2F&amp;linkname=Write&amp;linkurl=http%3A%2F%2Fwww.webjourney.me%2Fbecome-a-guest-writer"><img src="http://www.webjourney.me/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark" /></a>
     
    	</p>
        <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=Web%20Journey&amp;siteurl=http%3A%2F%2Fwww.webjourney.me%2F&amp;linkname=Write&amp;linkurl=http%3A%2F%2Fwww.webjourney.me%2Fbecome-a-guest-writer"><img src="http://www.webjourney.me/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Save/Bookmark" /></a>
     
    	<br />
        </div>
    	</div>
     
    		</div>
     
    			<div id="sidebar_1" class="sidebar">
    				<ul class="sidebar_list">
    <li class="widget thesis_widget_search" id="search">
    <form method="get" class="search_form" action="http://www.webjourney.me/">
    	<p>
    		<input class="text_input" type="text" value="To search, type and hit enter" name="s" id="s" onfocus="if (this.value == 'To search, type and hit enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'To search, type and hit enter';}" />
    		<input type="hidden" id="searchsubmit" value="Search" />
    	</p>
    </form>
    </li>
    		<li class="widget widget_recent_comments" id="recent-comments-4">			<h3>Recent Comments</h3>			<ul id="recentcomments"><li class="recentcomments"><a href="http://consolidate-creditcarddebts.blogspot.com/" rel="external" class="url">Greg</a> (1 comments) on
             <a href="http://www.webjourney.me/30-things-to-do-after-publishing-a-post/comment-page-1#comment-1945">30 Things to do After Publishing a Post</a></li><li class="recentcomments"><a href="http://www.greatrippedabs.com/" rel="external" class="url">Paul Jean</a> (2 comments) on <a href="http://www.webjourney.me/violent-way-get-sales/comment-page-1#comment-1943">A Violent Way to Get Sales</a></li><li class="recentcomments"><a href="http://www.bloggingagenda.com/" rel="external" class="url">Seth W</a> (9 comments) on 
             <a href="http://www.webjourney.me/google-friend-connect/comment-page-1#comment-1942">Google Friend Connect?</a></li><li class="recentcomments">admin (300 comments) on <a href="http://www.webjourney.me/like-out-new-design/comment-page-1#comment-1941">Like our New Design?</a></li><li class="recentcomments"><a href="http://www.p2w2.com/link-building.php" rel="external" class="url">Link builder</a> (1 comments) on <a href="http://www.webjourney.me/link-building-is-like-acne/comment-page-1#comment-1940">Link Building is Like Acne</a></li></ul>
    		</li>				</ul>
    			</div>
    		</div>
    		<div id="sidebars">
    			<div id="sidebar_2" class="sidebar">
    				<ul class="sidebar_list">
    <li class="widget thesis_widget_subscriptions" id="subscriptions">
    <h3>Subscribe</h3>
    <p>Subscribe to get updated when new content is released.</p>
    <ul>
    	<li class="sub_rss"><a href="http://feeds2.feedburner.com/webjourney/oUfK">Subscribe</a></li>
    	<li class="sub_email"><a href="http://feedburner.google.com/fb/a/mailverify?uri=webjourney/oUfK&loc=en_US">Subscribe by Email</a></li>
    </ul>
    </li>
    <li class="widget widget_popular_posts" id="popular-posts"><h3> Popular Posts</h3>
    <ul><!-- Wordpress Popular Posts Plugin v1.4.6 -->
    <li><a href="http://www.webjourney.me/link-building-techniques" title="70 Link Building Techniques"><img src="http://www.webjourney.me/wp-content/plugins/wordpress-popular-posts/scripts/timthumb.php?src=http://www.webjourney.me/wp-content/uploads/1142304_links.jpg&amp;h=66&amp;w=66&amp;zc=1" alt="70 Link Building Techniques" border="0" class="wpp-thumbnail" /></a><a href="http://www.webjourney.me/link-building-techniques" title="70 Link Building Techniques"><span class="wpp-post-title">70 Link Building Techniques</span></a> </li>
    <li><a href="http://www.webjourney.me/why-wordpress-sucks" title="Why Wordpress Sucks"><img src="http://www.webjourney.me/wp-content/plugins/wordpress-popular-posts/scripts/timthumb.php?src=http://www.webjourney.me/wp-content/uploads/1171409_jumping_man.jpg&amp;h=66&amp;w=66&amp;zc=1" alt="Why Wordpress Sucks" border="0" class="wpp-thumbnail" /></a><a href="http://www.webjourney.me/why-wordpress-sucks" title="Why Wordpress Sucks"><span class="wpp-post-title">Why Wordpress Sucks</span></a> </li>
    <li><a href="http://www.webjourney.me/why-i-choose-my-domain" title="Why I Choose My Domain"><span class="wpp-post-title">Why I Choose My Domain</span></a> </li>
    <li><a href="http://www.webjourney.me/we-become-dofollow" title="We Become DoFollow"><span class="wpp-post-title">We Become DoFollow</span></a> </li>
    <li><a href="http://www.webjourney.me/70-ways-to-make-money-online" title="70+ Ways to Make Money Online"><img src="http://www.webjourney.me/wp-content/plugins/wordpress-popular-posts/scripts/timthumb.php?src=http://www.webjourney.me/wp-content/uploads/1164836_coins_5.jpg&amp;h=66&amp;w=66&amp;zc=1" alt="70+ Ways to Make Money Online" border="0" class="wpp-thumbnail" /></a><a href="http://www.webjourney.me/70-ways-to-make-money-online" title="70+ Ways to Make Money Online"><span class="wpp-post-title">70+ Ways to Make Money Online</span></a> </li>
    <li><a href="http://www.webjourney.me/tips-improve-online-writing" title="50 Tips to Improve Online Writing"><img src="http://www.webjourney.me/wp-content/plugins/wordpress-popular-posts/scripts/timthumb.php?src=http://www.webjourney.me/wp-content/uploads/898575_late_homework.jpg&amp;h=66&amp;w=66&amp;zc=1" alt="50 Tips to Improve Online Writing" border="0" class="wpp-thumbnail" /></a><a href="http://www.webjourney.me/tips-improve-online-writing" title="50 Tips to Improve Online Writing"><span class="wpp-post-title">50 Tips to Improve Online Writing</span></a> </li>
    <li><a href="http://www.webjourney.me/link-building-is-like-acne" title="Link Building is Like Acne"><span class="wpp-post-title">Link Building is Like Acne</span></a> </li>
     
    </ul><!-- End Wordpress Popular Posts Plugin v1.4.6 -->
    </li>		<li class="widget widget_recent_entries" id="recent-posts-6">		<h3>Recent Posts</h3>		<ul>
    				<li><a href="http://www.webjourney.me/choosing-a-topic-for-a-website-or-blog" title="Choosing a Topic for a Website or Blog">Choosing a Topic for a Website or Blog </a></li>
    				<li><a href="http://www.webjourney.me/proofreading-writing" title="Proofreading Online Writing">Proofreading Online Writing </a></li>
    				<li><a href="http://www.webjourney.me/the-art-of-blind-confidence-the-skill-everyone-needs-for-success" title="The Art of Blind Confidence: The Skill Everyone Needs For Success">The Art of Blind Confidence: The Skill Everyone Needs For Success </a></li>
    				<li><a href="http://www.webjourney.me/4-misused-seo-techiques-and-how-you-can-combat-them" title="4 Misused SEO Techiques and How You Can Combat Them">4 Misused SEO Techiques and How You Can Combat Them </a></li>
    				<li><a href="http://www.webjourney.me/article-marketing-guide" title="Article Marketing Guide">Article Marketing Guide </a></li>
    				</ul>
    		</li>				</ul>
    			</div>
    		</div>
    	</div>
    	<div id="footer">
    <script type="text/javascript"> 
    /* <![CDATA[ */
    var pollsL10n = {
    	ajax_url: "http://www.webjourney.me/wp-content/plugins/wp-polls/wp-polls.php",
    	text_wait: "Your last request is still being processed. Please wait a while ...",
    	text_valid: "Please choose a valid poll answer.",
    	text_multiple: "Maximum number of choices allowed: ",
    	show_loading: "1",
    	show_fading: "1"
    };
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.webjourney.me/wp-content/plugins/wp-polls/polls-js.js?ver=2.50"></script>
    <script type="text/javascript" src="http://www.webjourney.me/wp-content/plugins/wp-greet-box/js/functions.js"></script>
    <script type="text/javascript" src="http://www.webjourney.me/wp-content/plugins/wp-greet-box/js/onload.js"></script>
    <script type="text/javascript"> 
    a2a_localize = {
    	Share: "Share",
    	Save: "Save",
    	Subscribe: "Subscribe",
    	Email: "E-mail",
        Bookmark: "Bookmark",
    	ShowAll: "Show all",
    	ShowLess: "Show less",
    	FindServices: "Find service(s)",
    	FindAnyServiceToAddTo: "Instantly find any service to add to",
    	PoweredBy: "Powered by",
    	ShareViaEmail: "Share via e-mail",
    	SubscribeViaEmail: "Subscribe via e-mail",
    	BookmarkInYourBrowser: "Bookmark in your browser",
    	BookmarkInstructions: "Press Ctrl+D or Cmd+D to bookmark this page",
    	AddToYourFavorites: "Add to your favorites",
    	SendFromWebOrProgram: "Send from any e-mail address or e-mail program",
        EmailProgram: "E-mail program"
    };
    a2a_linkname="Write";
    a2a_linkurl="http://www.webjourney.me/become-a-guest-writer";
    a2a_show_title=1;
    </script>
    
    <script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
     
    <script type="text/javascript">
    a2a_linkname="Write";
    a2a_linkurl="http://www.webjourney.me/become-a-guest-writer";
    a2a_show_title=1;
    a2a_init("page");
    </script>
     
    </div>
    </div>
    </div>
    <!--[if lte IE 7]>
    <div id="ie_clear"></div>
    <![endif]-->
    <br />
    <b>Warning</b>:  call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'asnioFooter' was given in <b>/home3/thecomq3/public_html/webjourney/wp-includes/plugin.php</b> on line <b>339</b><br />
     
    </body>
    </html>
    
    
    Code (markup):
    Best Regards,
    Mohammad
    www.ehome-jo.com
     
    m7md_cis, Dec 24, 2009 IP
  5. theblurr5495

    theblurr5495 Active Member

    Messages:
    436
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Thanks a lot.:)

     
    theblurr5495, Dec 24, 2009 IP