No Underline Links (And CSS for Link-Styles)

P

PC

I tried this way, with the style attribute for 'decoration' and
'color' in the <a> tag:

<p><a href="http://www.MyLink.org">
Here is my link</a></p>

<p><a href="http://www.MyLink.org"
style="text-decoration: none; color: #000000">
Here is my link</a></p>

It works fine. But I guess, that one should prefer to use either a
<style> declaration in the <head> part of the document, or maybe a
style-sheet file 'Layout.css' for the entire document.

How could I declare this Link-Style for the <a> tag in a Style-Sheet
(CSS-file)?

Rgds,
PC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top