Help - Search - Members - Calendar
Full Version: What is wrong with the HTML Code?
HTMLHelp Forums > Web Authoring > General Web Design
zkoneffko
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
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
Border 0 will remove the border no...???
pandy
Yes. Were there any requirements? Like Strict or XHTML?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.