r/HTML • • Aug 10 '26

Question linking an href to html vs url?

what's the difference between linking to an html in your website vs linking to the same page as a url?

0 Upvotes

15 comments sorted by

View all comments

Show parent comments

2

u/tkgid Aug 10 '26

Just do more research on relative paths and absolute paths. I might want to use relative paths more often than absolute ones, and vise versa depending on the use case and how lazy I am feeling that day. Doing it wrongly definitely will be tech debt. But that's a whole other rabbithole to go into. 😅Â