16
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 10 Oct 2026
16 points (94.4% liked)
Programming
28803 readers
146 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
no, they do not. (click for details)
those three do not always resolve to the same thing: the first and last are relative, while the second is absolute.
from a file at
http://example.com/index.html, all three would resolve tohttp://example.com/style.css.But from a file at
http://example.com/foo/index.htmlthehref="style.css"andhref="./style.css"will both resolve tohttp://example.com/foo/style.csswhilehref="/style.css"will continue to resolve to the file at the root (http://example.com/style.css).Interesting! TIL.