Highlighted

Hyper link color

Community Beginner ,
Sep 28, 2019

Copy link to clipboard

Copied

Hello,

dw c6

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

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

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;
    }

Views

387

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Hyper link color

Community Beginner ,
Sep 28, 2019

Copy link to clipboard

Copied

Hello,

dw c6

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

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

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;
    }

Views

388

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 28, 2019 0
Adobe Community Professional ,
Sep 28, 2019

Copy link to clipboard

Copied

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;
    }

Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 28, 2019 1
Adobe Community Professional ,
Sep 29, 2019

Copy link to clipboard

Copied

 

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? 

 

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 29, 2019 1