EchoEcho.Com Homepage
Web Hosting - As Reliable As It Gets!
   Home > Tutorials > HTML > Links


 Tutorials 
 D-Zine Articles 
 Online Tools 
 Free Resources 
 References 
 Quiz 
 Hosting 

















  HTML Links :
NO UNDERLINE








By default, text links are underlined by the browser.

If your page is visited by MSIE3 or newer, you can turn off the underlining for an entire page by adding a style tag to the head section of the document.

Look at this example:
<html>

<head>
<title>This is my page</title>
<style type="text/css">
<!--
A{text-decoration:none}
-->
</style>

</head>

<body>
Welcome to my world!<br>
<a href="http://www.yahoo.com">This Link To Yahoo has no underline</a>
</body>

</html>


Note:
The style setting will not cause an error if viewed on a browser that doesn't support it. The browser will simply skip the effect - the link will look like an ordinary underlined link - but no errors will occur.





You can create much more advanced links with Cascading Style Sheets (CSS). If you're new to CSS you can learn about it in our CSS tutorial. If you're already familiar with CSS you can learn more about it in the section about CSS links.

 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!
FACT:
Internet Explorer lets you customize the look of cursors on your pages.
TIP:
Our CSS Cursor Tutorial will teach you how extremely easy it is!





     "Better Than Books - As Easy As It Gets!"


On EchoEcho: D-Zine Articles | Tutorials | Online Tools | Free Resources | References | Quiz | HostingAbout EchoEcho