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
over 1 year 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>

2410 points
5671826195e378c47d000782_659060817
Submitted by
stetim94
over 1 year ago

2 Comments

B7a3102d041e2b9fa1fbc666d2208273?s=140&d=retro Athul Shibu over 1 year ago

Thanks a bunch !!!

5671826195e378c47d000782_659060817 stetim94 over 1 year ago

you're welcome