This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course

179 points
B7a3102d041e2b9fa1fbc666d2208273?s=140&d=retro
Submitted by
Athul Shibu
almost 2 years ago

How can I turn specific words of my text inside <p> into links?

Example:-

Codecademy is awesome.

What if I wanna link to "https://www.codecademy.com" using the word "Codecademy" ??


0 votes

permalink

check here how to format your code. Your example code is currently not visible. if you update your question please leave a comment so i get a notification.

Well, then you wrap codecademy with the link tags:

<p><a href="https://www.codecademy.com">codecademy</a> is awesome.</p>

2727 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
almost 2 years ago

2 Comments

B7a3102d041e2b9fa1fbc666d2208273?s=140&d=retro Athul Shibu almost 2 years ago

Thanks a bunch !!!

593d545c83696644420003b7_64554016 stetim94 almost 2 years ago

you're welcome