Basic Html code for hyperlinks using Notepad ++

Hey everyone,

         I'm new to using basic Notepad ++ code and also using w3schools coding website.

The issue I have is trying to make a hyperlink from a word in a paragraph to another webpage. Hope I’ve been clear lol

Any ideas?

Thanks in advance.

Out of curiosity, did you complete the first eleven steps of the cat photo app project?

P.S Coding with notepad plus plus is a terrible idea when you’re a beginning. Use Visual Studio Code please. It offers a lot of tools to make development easier.

1 Like

Hi,
to create links you can use an element that looks like this:
<a href="your link ">Click here</a>

I think there are lessons about it in W3schools. You can also try the courses here if you’re a beginner.

I can already create a “href link” from one page to another, but for some reason, when i try to single out a particular word in a paragraph, it tends to put the rest of the paragraph out of whack.

Can you share that part of your code?

Yeah, of course.

buts that's another tale to be told..

I’m trying to link the words “another tale” to another page.

imagine there is a “p” before and after the sentence, as the website wont allow me to share code

You are allowed to share code. Just use preformatted text in the toolbar ( ctr + e ) and then write your code inside it. As I gave you the example for a link above, you just have to put “another tale” inside the a tags and add your link to the href. It should work easily. Maybe there’s a typo in your code?

Btw as @a2937 mentioned, I think you should do the first 10 or 11 steps of the cat photo app. You will get a better understanding of everything. I am sure.

Thanks for all your help guys, I will have a look at the suggestion @a2937 mentioned.
take care

1 Like

ive just completed the “cat photo gallery” tutorial and finally figured it out lol…

was a typo on my part.

so grateful to you guys

2 Likes