Creating a hyperlink within a <p> tag


#1

I’m currently coding a website for an internship and I may be just having a blank moment, but how would I create a hyperlink within a <p> tag? such as <p>Photographs and line drawings of the Old Fort can be studied at the Historic American Buildings Survey website.</p> if I want the words “Historic American Buildings Survey website” to be a hyperlink?


#2

You do really have a blank moment, that is basics.

you can nest the hyperlink (anchor element) inside the paragraph element.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a


#3

Thank you. I appreciate the advice and apologize for wasting time on something simple


#4

MDN has excellent documentation for html, css & JS, its always recommend to use it

Just surprised you got an internship and you blank out on something so trivial.

Did you figure it out?


#5

Yes, I did thank you for your concern.


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.