Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > putting a link on a logo

Reply
Thread Tools

putting a link on a logo

 
 
wesbao
Guest
Posts: n/a
 
      08-04-2006
How do I put a link on my logo?

Thank you

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      08-04-2006
wesbao wrote:

> How do I put a link on my logo?


With an anchor element, just like anything else.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
mbstevens
Guest
Posts: n/a
 
      08-04-2006
On Fri, 04 Aug 2006 07:53:02 -0700, wesbao wrote:

> How do I put a link on my logo?


Same as any other image.

<a href="someOther.html">
<img
src="images/mylogo.jpg"
width="50"
height="41"
alt="logo" />
</a>

 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      08-04-2006
mbstevens wrote:
> alt="logo" />


"logo" is pretty poor alt text. It should be a replacement for an image, not
a brief description of it (sometimes a brief description is a good
replacement, but not usually).

Remember, if images are turned off, this is the same as:

<a href="someOther.html">logo</a>

Does that make sense?


--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
mbstevens
Guest
Posts: n/a
 
      08-04-2006
On Fri, 04 Aug 2006 16:09:00 +0100, David Dorward wrote:

> mbstevens wrote:
>> alt="logo" />

>
> "logo" is pretty poor alt text. It should be a replacement for an image, not
> a brief description of it (sometimes a brief description is a good
> replacement, but not usually).
>
> Remember, if images are turned off, this is the same as:
>
> <a href="someOther.html">logo</a>
>
> Does that make sense?


Certainly does, but in the absence of more information about
what his business or lack thereof is, 'logo' was about the best
I could come up with.



 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      08-04-2006
wesbao wrote:
> How do I put a link on my logo?


Question is a little vague, a URL of your current efforts would help.

If you mean make an image a clickable link then

<a href="http://example.com"><img src="logoImage.jpg" alt="My Site"></a>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Alan J. Flavell
Guest
Posts: n/a
 
      08-04-2006
On Fri, 4 Aug 2006, mbstevens wrote:

> [...] in the absence of more information about
> what his business or lack thereof is, 'logo' was about the best
> I could come up with.


alt="Foo corporation" (if the name of the corporation isn't already
there in text alongside), or alt="" if it isn't. Works for any
unspecified corporation, and it's obvious how to adapt it.

alt="logo" is almost certainly wrong, and sets others a bad model to
work from.
 
Reply With Quote
 
mbstevens
Guest
Posts: n/a
 
      08-04-2006
On Fri, 04 Aug 2006 16:52:37 +0100, Alan J. Flavell wrote:

> On Fri, 4 Aug 2006, mbstevens wrote:
>
>> [...] in the absence of more information about
>> what his business or lack thereof is, 'logo' was about the best
>> I could come up with.

>
> alt="Foo corporation" (if the name of the corporation isn't already
> there in text alongside), or alt="" if it isn't. Works for any
> unspecified corporation, and it's obvious how to adapt it.
>
> alt="logo" is almost certainly wrong, and sets others a bad model to
> work from.


Well, as long as we're going to be _fanciful_, I would prefer:
alt = "logo of the Foo corporation -- flock of vultures attacking a
rabbit which is sitting atop a pyramid with an eye on it"

The information that it _is_ a logo is of some importance to
_some_ people.


 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      08-04-2006
mbstevens wrote:

> Well, as long as we're going to be _fanciful_, I would prefer:
> alt = "logo of the Foo corporation -- flock of vultures attacking a
> rabbit which is sitting atop a pyramid with an eye on it"
>
> The information that it _is_ a logo is of some importance to
> _some_ people.


But is it important in the context of the document?

In most cases the purpose of displaying a logo is to brand a page, not to
inform people what the logo looks like. Your example might be reasonable on
a page where the purpose is to display the company logo (although such a
page would probably have some or all of that information in prose anyway).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
mbstevens
Guest
Posts: n/a
 
      08-04-2006
On Fri, 04 Aug 2006 17:49:38 +0100, David Dorward wrote:

> mbstevens wrote:
>
>> Well, as long as we're going to be _fanciful_, I would prefer:
>> alt = "logo of the Foo corporation -- flock of vultures attacking a
>> rabbit which is sitting atop a pyramid with an eye on it"
>>
>> The information that it _is_ a logo is of some importance to
>> _some_ people.

>
> But is it important in the context of the document?


I believe that if I were blind, I would want to know not only
what the company was, but that I was 'looking' at a logo.

>
> In most cases the purpose of displaying a logo is to brand a page, not to
> inform people what the logo looks like.


If the logo actually has an image that is not a
non-objective image, the web author should also give a description of it.
Again, that's what I would want to 'see' if I were unsighted. Do note that
I peppered my last post with "some". I can't speak for everyone, but
that's the kind of information I would want.

(Correct me if I'm wrong, but I think you and Allen are actually
whacking me about what you might call sloppy pedagogy on my part.
I shall consider myself properly chastised, and will include a full
length, highly fanciful alt text on future examples -- or, at least
I will if I feel energetic enough.)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the Get Adobe Reader logo & link on a website Ron McNulty NZ Computing 4 04-23-2006 03:41 AM
putting a variables in a link Nav HTML 1 02-13-2006 08:07 AM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM
Difference between putting code in constructor and putting code in static{} Saurabh Java 6 05-30-2004 02:44 PM



Advertisments