Posts: 1,382
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Once in a while, there is a momentous occasion, in which two sets of code, from opposite ends of the political spectrum, fight it out in an attempt to make history.
http://www.barackobama.com/index.php
http://www.johnmccain.com/
I had to include the /index.php on the first one, to avoid the annoying redirect that begs for money.
The two candidates sport well designed, interactive, database driven, multimedia websites. Their code is much different, however.
Obama: - Very clean, <div> and <li> driven code, with minimal tables.
- XHTML Transitional
- Uses the Jquery Javascript library
- Conditional Comments for different browsers
- Suckerfish Dropdowns - work with Javascript disabled
McCain: - Table based, "conservative" layout
- HTML 4.01 Transitional (ouch)
- Multiple Javascript libraries that I've never heard of
- No Conditional Comments
- Dropdowns don't function with Javascript disabled
Obama is clearly winning the code contest.
__________________
<!--if a signature drops in the forest, and no one is there to see it, does it make a link?-->
|