Hyperlink (link text) colour

how do we differentiate link text color and color of regular text for hyperlink in html?

Hi @suthindhira1998,

As far as CSS color is concerned, links , or tags, behave in the same way as regular text . This means to change the color of a link all you need to do is use the CSS color property on the anchor tag with whatever color Hex you want.

@pujak1853 thank you for your reply! sorry to bother you in this further, can you mention the syntax, since am not aware of CSS color property!:sweat_smile:

To make a hyperlink in an HTML page, use the < a > and < /a > tags, which are the tags used to define the links. The < a > tag indicates where the hyperlink starts and the < /a > tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink . Add the URL for the link in the <a href=” ”>.

thank you so much! @pujak1853