
Miguel Piedrafita 🚀 @m1guelpf
🔥 You can submit forms from a button outside of the form tag by using the form attribute https://t.co/72pjoWu5Ll
Miguel Piedrafita 🚀 @m1guelpf
🔥 You can submit forms from a button outside of the form tag by using the form attribute https://t.co/72pjoWu5Ll
Marko ⚡ Denic @denicmarko
HTML tip: If you want to open all links in the document in a new tab, you can use `<base>` element: https://t.co/wyhIxtk1nO
Doug Sillars @dougsillars
Your periodic reminder that using "display:none" in your CSS does not also mean "download:none" https://t.co/eZZNnrQ3OS
Sebastian De Deyne @sebdedeyne
Quick accessibility tip by @ChrisFerdinandi that you can apply today: add an aria-page="current" attribute to active links https://t.co/isa9bladQ0 https://t.co/ajCsWnTon5
Flavio @flaviocopes
A little HTML trick you can use to show a different image in dark mode https://t.co/yyFIGAPRcA
Tejas Kumar @TejasKumar_
🔥 HTML has native support for autocomplete-style dropdowns attached to inputs via the <datalist> element. This input behaves like a <select> but you can type text in it and choose a specific value. Incredible. 😍 🎨 Play on @codepen: https://t.co/9Uijl104wu https://t.co/NhnK3R6fS9
Caleb Porzio @calebporzio
🔥 Super clean little way to disable submit buttons while a form is posting 👌 Just learned that you can reference an input element in the handler by "name" (no long document.querySelector) 🙌 (Video in reply) https://t.co/BqhOETXIq5
Tim @timneutkens
Just learned <link rel="preload"> supports the `media` attribute for media queries ? https://t.co/xpitxE1rUw
Richard Ekwonye @ekwonye
Always remember that the HTML5 <video> has a poster attribute that accepts the url to an image that would be rendered while your video loads and until the video is played. Always comes in handy ??
David Hemphill @davidhemphill
Just learned that an input element with a type of "email" can take the boolean attribute "multiple", allowing for a comma-separated list of emails to be entered. ? https://t.co/jFFjiLMDVq
Achraf Kassioui @achrafkassioui
An HTML element will lose its "position: fixed" if a CSS transform is applied to an ancestor: https://t.co/r0tlZ32GeS
Merrick Christensen @iammerrick
? Always use rel="noreferrer noopener" linking to another site with target="_blank". Or else that site can silently redirect your users! https://t.co/YQvBJQFE1v
Shaw @shshaw
? SVG Quick Tip: Inline-encode SVG in background-image for infinitely scalable backgrounds & one less HTTP request https://t.co/MbCkFUh6BH https://t.co/vD95suMilf
Wes Bos @wesbos
The download attribute is handy when you want things to force a download of a file without using server side rules. 101: https://t.co/NYoDx3z9Vv