Hacker News with Generative AI: HTML

Reactive HTML Notebooks (maxbo.me)
I don't think HTML is being used enough as a platform for scientific publishing.
Cool HTML design without JavaScript (waka.moe)
A lot of cool designs can be created with just HTML and CSS.
Show HN: HTML-to-Markdown – convert entire websites to Markdown with Golang/CLI (github.com/JohannesKaufmann)
A robust html-to-markdown converter that transforms HTML (even entire websites) into clean, readable Markdown. It supports complex formatting, customizable options, and plugins for full control over the conversion process.
Following up "Mother of all Htmx demos" (guillot.me)
HtmlRAG: HTML Is Better Than Plain Text for RAG Systems (huggingface.co)
Retrieval-Augmented Generation (RAG) has been shown to improve knowledge capabilities and alleviate the hallucination problem of LLMs.
Building My Resume in HTML Using Eleventy (michaelengen.com)
Like many before me, I've built and rebuilt my resume many times over the years.
Un-Deprecate <big>: my plea to the W3C (paper.wf)
My Plea to the W3C: Giving a semantic meaning to an “Obsolete” element.
HTML Form Validation is underused (expressionstatement.com)
HTML Forms have powerful validation mechanisms, but they are heavily underused. In fact, not many people even know much about them. Is this because of some flaw in their design? Let’s explore.
Typeset: An HTML pre-proces­sor for web ty­pog­ra­phy (lllllllllllllllll.com)
Smarter Than 'Ctrl+F': Linking Directly to Web Page Content (alfy.blog)
Historically, we could link to a certain part of the page only if that part had an ID. All we needed to do was to link to the URL and add the document fragment (ID). If we wanted to link to a certain part of the page, we needed to anchor that part to link to it. This was until we were blessed with the Text fragments!
SuperHTML is here to rescue you from syntax errors, and it's FOSS (theregister.com)
Developer Loris Cro reckons his LSP language server for HTML is a world first, and that the absence of such tools up to now has had grave consequences for the web.
Show HN: Repaint – A visual editor for HTML and CSS (repaint.com)
How should the new <selectedoption> element work? (jakearchibald.com)
We're finally getting a way to fully style & customise <select> elements! But there's a detail I'd like everyone's opinion on.
Show HN: Gomponents, HTML components in pure Go (gomponents.com)
HTML Whitespace Is Broken (dwac.dev)
Recently, I was working on a project which required a deeper understanding of how whitespace works in HTML.
You can stop using user-scalable=no and maximum-scale=1 in viewport meta tags (lukeplant.me.uk)
Many websites are still using a viewport meta tag like one of the following:
Word-like HTML inline edit with design mode (secretgeek.net)
F12, dev tools -- then enter this in the console
Inline Scope for CSS (picostitch.com)
I am not tightly following what's going on in CSS land, since blogs are not the thing and mailing lists became spam lists I don't know where to "listen". But from time to time I read MDN and look for the things that I expect CSS and HTML to provide. And funny enough, often my expectations and reality are aligned. Maybe because the missing things are just so obvious :).
HTML for People (htmlforpeople.com)
HTML isn’t only for people working in the tech field. It’s for anybody, the way documents are for anybody. HTML is just another type of document. A very special one—the one the web is built on.
Show HN: HTML for People (htmlforpeople.com)
HTML isn’t only for people working in the tech field. It’s for anybody, the way documents are for anybody. HTML is just another type of document. A very special one—the one the web is built on.
TinyJS – Shorten JavaScript QuerySelect with $ and $$ (github.com/victorqribeiro)
TinyJS is a lightweight JavaScript library for dynamically creating HTML elements with deep property assignment.
The unreasonable effectiveness of simple HTML (2021) (shkspr.mobi)
I've told this story at conferences - but due to the general situation I thought I'd retell it here.
Reader-LM: Small Language Models for Cleaning and Converting HTML to Markdown (jina.ai)
Reader-LM-0.5B and Reader-LM-1.5B are two novel small language models inspired by Jina Reader, designed to convert raw, noisy HTML from the open web into clean markdown.
The First HTML LSP That Reports Syntax Errors (kristoff.it)
The story of how I gained two world-firsts, somehow.
htmx Web Security Basics (htmx.org)
As htmx has gotten more popular, it’s reached communities who have never written server-generated HTML before.
How to make a table row a link (2020) (robertcooper.me)
Allowing a table row to be a link is not as simple as one might think. This article explains what the main issue is with making links out of table rows, provides some solutions to the problem, showcase some real-world examples, and question whether having a table row as a link is something that should even be done.
Minifying HTML for GPT-4o: Remove all the HTML tags (blancas.io)
tl;dr; if you want to pass HTML data to GPT-4o, just strip out all the HTML and pass raw text, it’s cheaper and there is little to no performance degradation. [Source code and demo available.](#final-comments)
Facet: WebComponents Defined in HTML (github.com/kgscialdone)
A better HTML input experience (custom elements and the AOM) (2017) (robdodson.me)
Replace Twitter Embeds with Semantic HTML (shkspr.mobi)