The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> What is wrong with the HTML Code?
zkoneffko
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Matt_Turner
post 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...???
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Aug 22 2009, 11:15 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Yes. Were there any requirements? Like Strict or XHTML?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 05:06 AM