Simon Willison: TILs on html

Atom feed for html

html HTML video with subtitles - 2024-07-31

Via Mariatta I found my PyVideo speaker page, and thanks to that page I learned that a talk I gave in 2009 had been rescued from the now-deceased Blip.tv and is now hosted by the Internet Archive: …

html Scroll to text fragments - 2023-08-08

I ran a Google search this morning for s3-credentials simon willison and when I clicked on the top result it jumped me to a highlighted snippet of text on the page, despite that page not having relevant anchor links. …

html Lazy loading images in HTML - 2022-11-26

Most modern browsers now include support for the loading="lazy" image attribute, which causes images not to be loaded unti the user scrolls them into view. …

html HTML datalist - 2022-11-14

A Datasette feature suggestion concerning autocomplete against a list of known values inspired me to learn how to use the HTML <datalist> element (see MDN). …

html HTML video that loads when the user clicks play - 2022-09-29

Today I figured out how to use the <video> tag to show a static thumbnail that gets replaced by the loaded video only when the user clicks play. …