Skip to main content
September 29, 2019
Answered

Hyper link color

Hello,

dw c6

How do I change the color of only one hyper link.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    BenPleysier
    BenPleysierCorrect answer
    Community Expert
    September 29, 2019

    There are 2 ways to do this:

    1. Inline as in
      <a href="http://www.hyperlinkcode.com/change-hyperlink-color.php" style="color: #cc0000">
    2. Assign a class and use external CSS
      <a href="http://www.hyperlinkcode.com/change-hyperlink-color.php" class="specialLink">
      and
      a.specialLink {
      color: #cc0000;
      }
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    September 29, 2019

     

    Consistent link colors are important for usability.   If you arbitrarily change one link to a different color, does that really improve your site or just make it more confusing for people? 

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    September 29, 2019

    There are 2 ways to do this:

    1. Inline as in
      <a href="http://www.hyperlinkcode.com/change-hyperlink-color.php" style="color: #cc0000">
    2. Assign a class and use external CSS
      <a href="http://www.hyperlinkcode.com/change-hyperlink-color.php" class="specialLink">
      and
      a.specialLink {
      color: #cc0000;
      }
    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!