You are here: Formatting links « HTML « IT news, forums, messages
Formatting links

Posted by John on 11/22/05 07:26

I'm trying to format a link to look like an H2 header (with a link
underline), like the following:

<a href="welcome.html"><h2>Welcome</h2></a>

That works in IE and FF, but Tidy complains: missing </a> before <h2>. I
tried playing with the class location, like "<a class = "h2"
href="welcome.html">Welcome</a>", and other methods, but I can't get that
to work right. Any ideas, or should I just leave the warning in?

Thanks,
David

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация