Adam Howard
Well-known member
Maybe someone can settle a debate (argument) for me. (Please & thank you)
So I've never written an XHMTL document before. I'm use to HTML and a little (small) amount of PHP (mostly HTML).
For a cover page, I decided I need a little bit of cross code and here is what I came up with -vs- a friends. Mine is smaller & more compact and his is double the size. Both of them validate, but he claims mine is not correct.
Mine:
His
Thoughts?
So I've never written an XHMTL document before. I'm use to HTML and a little (small) amount of PHP (mostly HTML).
For a cover page, I decided I need a little bit of cross code and here is what I came up with -vs- a friends. Mine is smaller & more compact and his is double the size. Both of them validate, but he claims mine is not correct.
Mine:
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" xml:lang="en" lang="en">
<head>
<title>SociallyUncensored.eu : The complete idiot's guide to an uncensored world</title> <meta name="Keywords" content="entertainment, news, investments, movies, games reviews, books, politics, technology, advertising, media, computers, programming, legal, automotive, wall street, stocks, investments, mac, pc, art, fitness, video games, cell phones, business"/> <meta name="Description" content="SociallyUncensored.eu offers uncensored political, religious and philosophical discussions and debates. Talk freely about anything"/> <meta name="ROBOTS" content="INDEX, FOLLOW"/> <style type="text/css"> <!-- body { background-color: #000000; background-repeat: repeat-x; } --> </style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="code/jquery-1.3.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="code/bg.js" type="text/javascript" charset="utf-8"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body> <center> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18520392-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <a href="/forums"><img src="images/logo.png" alt="Click to Enter" title="Click to Enter" border="0" height="438" width="700"/></a> <p> </p> <p align="center"><font color="#999999" face="Geneva, Arial, Helvetica, sans-serif" size="2"> SociallyUncensored.eu offers uncensored political, religious and philosophical discussions and debates. Talk freely about anything<br /> Copyright © 2011 SociallyUncensored.eu All Rights Reserved</font></p> </center> </body> </html>
His
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" xml:lang="en" lang="en">
<head>
<title>SociallyUncensored.eu : The complete idiot's guide to an uncensored world</title>
<meta name="Keywords" content="entertainment, news, investments, movies, games reviews, books, politics, technology, advertising, media, computers, programming, legal, automotive, wall street, stocks, investments, mac, pc, art, fitness, video games, cell phones, business" />
<meta name="Description" content="SociallyUncensored.eu offers uncensored political, religious and philosophical discussions and debates. Talk freely about anything" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<style type="text/css">
/*<![CDATA[*/
<!-- body { background-color: #000000; background-repeat: repeat-x; } -->
/*]]>*/
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="code/jquery-1.3.1.min.js" type="text/javascript" charset="utf-8">
</script>
<script src="code/bg.js" type="text/javascript" charset="utf-8">
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
div.c2 {text-align: center}
p.c1 {color: #999999; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 80%; text-align: center}
/*]]>*/
</style>
</head>
<body>
<div class="c2"><script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18520392-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
//]]>
</script> <a href="/forums"><img src="images/logo.png" alt="Click to Enter" title="Click to Enter" border="0" height="438" width="700" /></a>
<p class="c1">SociallyUncensored.eu offers uncensored political, religious and philosophical discussions and debates. Talk freely about anything<br />
Copyright © 2011 SociallyUncensored.eu All Rights Reserved</p>
</div>
</body>
</html>
Thoughts?