Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlinking company names from my website 1

Status
Not open for further replies.

sam0077

Technical User
Mar 31, 2007
26
US
Hello, can anyone advise me on how to hyperlink company names that are in a h1 form?

I want users to be able to link to their website.

Thank you.
 
Code:
<h1><a href="[URL unfurl="true"]http://www.cocacola.com">Coca[/URL] Cola</a></h1>
Either I am understanding you incorrectly or this is what you're looking for.
 
Yes, that is what I was looking for, but can that be done in a <p>. I also wanted to use a small image of their logo in place of the company name. Is that possible?

Thank you for answering my question.
 
Code:
<p><a href="[URL unfurl="true"]http://www.cocacola.com"><img[/URL] src="\path\to\image\logo.gif"></a></p>

And I would recommend you Google for HTML tutorials.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
a h1 form

There's no such element. You either mean an H1, or a form... but then you go on to talk about p elements.

Perhaps working out in your own mind, very clearly, what it is you want to do before posting would be helpful?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 

I read that as meaning 'in the form of an h1 element'

But I too was confused by the sudden appearance of a <p>!

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top