What is wrong with the HTML Code? |
What is wrong with the HTML Code? |
zkoneffko |
Aug 16 2009, 02:36 PM
Post
#1
|
Group: Members Posts: 1 Joined: 16-August 09 Member No.: 9,454 |
I recently applied for a job and as a pre interview they asked me to respond to about 20 questions/problems about web design. I had no issues with any of them execpt one. Below I listed the exact question and code they sent me. There was no other information provided. I just don't see the exact problem with the code. I have an idea or two but I wanted to see some other peoples opinions.
Here is the code and question exactly has they stated it: What is wrong with this html code? <div align="right"><a href="http://email.testsite.com/servlet/cc6?pOQSCRRDQqTVLKKpLkiHgnxPHohhQJhuVaVBVJhglHJlXpKVSYSAWBAA"><img alt="book_early_and_save" border="0" src="http://media.testsite.com/copper/email/Copper%20Wire/sidepromo-springbreak.jpg" ></a></div> |
Darin McGrew |
Aug 17 2009, 01:07 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Off the top of my head...
With a Strict DTD, you can't use the align or border attributes. Using border="0" can be a usability issue, making it harder for the user to recognize which images are linked. And "book_early_and_save" seems like a poor choice of alt text. |
Matt_Turner |
Aug 22 2009, 11:10 AM
Post
#3
|
Group: Members Posts: 1 Joined: 22-August 09 Member No.: 9,522 |
Border 0 will remove the border no...???
|
pandy |
Aug 22 2009, 11:15 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yes. Were there any requirements? Like Strict or XHTML?
|
Lo-Fi Version | Time is now: 25th April 2024 - 10:22 PM |