Re:A Reflection on the Small Web
by t_mann on Thursday September 29, 2022 @11:02AM
(#33021688)
Are anchor tags frowned upon in the small web movement? It feels like making it harder to follow hyperlinks goes against the "spirit" of what the web was built for.
[ Parent
| on HN ]
(this txt file is not an html element, it's lighter than a traditional webpage because of my poor connection and the fact that I'm self-hosting my website)
ok, but wouldn't the tags still be resolved by browsers, even if they're not wrapped inside <html>? or is the point that it's not meant to be viewed through a browser? the overhead of the tags in terms of bytes seems fairly negligible, no?
HTML tags will be recognised by browsers even if the file is not wrapped with an <html> tag, but only if the file is served as html.
As I mentioned in a comment above, wrap the plain text in <pre></pre> tags, serve as html, then you can use links without adding any other html at all.
right - just removing .txt at the end should be enough even
I think tags would not be recognized by browsers. I just select the link (triple click) and right click > open link in new tab.