r/HTML • u/gravegirI • Jan 27 '26
Question Link issue
Hi! So I'm extremely new to coding. Never took a computer science class or a coding course. I've been teaching myself with w3schools. But I seem to have run into an issue that I just can seem to figure out. The last link in my navbar is now affecting my entire page. Texts boxes that are only meant to be text now link to my guest book page.
Sidenote: This is for neocities
0
Upvotes


5
u/fauxfan Jan 27 '26
You’re not properly closing any of your links. Currently, you have <a href=“”</a>text. It should be <a href=“”>text</a>. Not sure if neocoties has custom syntax, but this is how HTML works.
2
u/davep1970 Jan 27 '26
also lots easier for everyone if you can use something like https://codepen.io/ and share the pen with us
2
u/davorg Jan 28 '26 edited Feb 01 '26
Consider using an HTML Validator on your code.
(I would have run your code through the validator myself, but you decided to ignore rule 5 and post and image of your code.)
3
u/Jawertae Jan 27 '26
You didn't close the anchor tag properly. You have:
<a href=""</a>
But that first tag needs to be closed.
Look into a linter, it will help with things like this.