med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

339
active users

#html

23 posts22 participants0 posts today
Oblomov<p>Let's say you have an <a href="https://sociale.network/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> table. Each `tr` has an attribute (say, `data-name`) whose value is indicative of the row contents (for the curious: this is a heavily customized Apache directory listing, and the data-name is a normalized version of the file/dir name, but it could be anything). There is also an `input` field. We want to only show the rows whose data-name contains the contents of the input field.</p><p><a href="https://sociale.network/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a></p><p>2/n</p>
Oblomov<p>Speaking of <a href="https://sociale.network/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a>, what the <a href="https://sociale.network/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> and <a href="https://sociale.network/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> standards need is some way to style nodes based on DOM values of other modes. Unless I'm missing something, we still need <a href="https://sociale.network/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> to achieve the following, but I'm open to recommendations or suggestions about things I might have missed, so let's make this an <a href="https://sociale.network/tags/askFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>askFedi</span></a> </p><p>The intent here is to develop a JS-free “quick filter” over a list or table. </p><p>Here's what I've done:</p><p>1/n</p>
Leanpub<p>Game Studio Starter Kit (6 Game Collection) <a href="http://leanpub.com/set/leanpub/ugsskitc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">http://</span><span class="ellipsis">leanpub.com/set/leanpub/ugsski</span><span class="invisible">tc</span></a> by Stephen Gose is the featured Track of online courses on the Leanpub homepage! <a href="https://leanpub.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/ProjectManagement" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ProjectManagement</span></a> <a href="https://mastodon.social/tags/GameDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameDevelopment</span></a> <a href="https://mastodon.social/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gaming</span></a> <a href="https://mastodon.social/tags/videogames" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>videogames</span></a> <a href="https://mastodon.social/tags/contentcreator" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>contentcreator</span></a></p>
David O'Brien<p>Oh, and I am unconvinced of the wisdom of using a definition list for navigation. That's not what it was intended for, and assistive tech support is patchy.</p><p>A simple &lt;ul&gt; or &lt;ol&gt; inside a &lt;nav&gt; landmark is probably a better option.</p><p><a href="https://mastodon.scot/tags/a11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a11y</span></a> <a href="https://mastodon.scot/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> </p><p><span class="h-card" translate="no"><a href="https://mas.to/@markwyner" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>markwyner</span></a></span></p>
Noah Liebman<p>Has anyone made this giant table of dialog/popover behaviors in different configurations? ’cause it’s hard to keep track 😅 <a href="https://mastodon.social/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
Mark Wyner Won’t Comply :vm:<p>Question for accessibility folks and people who rely on screen readers.</p><p>I code nav so there’s no link when you’re on a respective page. Like this:</p><p>&lt;dd&gt;One&lt;/dd&gt;<br>&lt;dd&gt;&lt;a href="/two"&gt;Two&lt;/a&gt;&lt;/dd&gt;</p><p>But the aria-current attribute can be used with persistent links:</p><p>&lt;dd&gt;&lt;a href="/one" aria-current="page"&gt;One&lt;/a&gt;&lt;/dd&gt;<br>&lt;dd&gt;&lt;a href="/two"&gt;Two&lt;/a&gt;&lt;/dd&gt;</p><p>Which of these, or using aria-current on a non-linked item, feels the most accessible?</p><p><a href="https://mas.to/tags/Accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Accessibility</span></a> <a href="https://mas.to/tags/A11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>A11y</span></a> <a href="https://mas.to/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://mas.to/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://mas.to/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://mas.to/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mas.to/tags/ScreenReaders" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ScreenReaders</span></a></p>
Alexandre B A Villares 🐍<p>In order to publish my personal projects/pages (and most of my teaching materials, hundreds of pages) on <a href="https://ciberlandia.pt/tags/Codeberg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Codeberg</span></a>, I need to convert <a href="https://ciberlandia.pt/tags/markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>markdown</span></a> files into <a href="https://ciberlandia.pt/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> and sprinkle some CSS &amp; JS from a layout template, like <a href="https://ciberlandia.pt/tags/GitHub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GitHub</span></a>'s Pages <a href="https://ciberlandia.pt/tags/Jekyll" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jekyll</span></a> does, but I dread the complexity of installing and tending to Jekyll or Hugo or other static site generators, and I can't even imagine going near Forejo Actions or any sort of CI intergration. </p><p>Should I be brave and do the Jekyll /static generator thing? Any other ideas for poor, overworked, stressed out, clumsy people? :(</p>
Dan Q<p>🧑‍🏫 Clever nerds:<br>Rules for accessible, high-performance, non-brittle <a href="https://m.danq.me/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a> <a href="https://m.danq.me/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://m.danq.me/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a>:<br>1. Don't use <a href="https://m.danq.me/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> to do something you can do in <a href="https://m.danq.me/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a>.<br>2. Don't rely on CSS to do break <a href="https://m.danq.me/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a>.</p><p>🍺 Me:<br>Hold my beer. I'm gonna use the &lt;details&gt; element to build a lightbox...</p><p><a href="https://danq.me/details-summary-lightboxes-in-pure-html-css" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">danq.me/details-summary-lightb</span><span class="invisible">oxes-in-pure-html-css</span></a></p>
Frontend Dogma<p>A Few Things About the Anchor Element’s “href” You Might Not Have Known, by <span class="h-card" translate="no"><a href="https://mastodon.social/@jimniels" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jimniels</span></a></span>:</p><p><a href="https://blog.jim-nielsen.com/2025/href-value-possibilities/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.jim-nielsen.com/2025/href</span><span class="invisible">-value-possibilities/</span></a></p><p><a href="https://mas.to/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://mas.to/tags/attributes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>attributes</span></a> <a href="https://mas.to/tags/links" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>links</span></a> <a href="https://mas.to/tags/dataurls" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataurls</span></a></p>
DailyHTML<p>&lt;meter&gt; </p><p>Represents either a scalar value within a known range or a fractional value.</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meter" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.mozilla.org/en-US/do</span><span class="invisible">cs/Web/HTML/Reference/Elements/meter</span></a></p><p><a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/DailyHTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DailyHTML</span></a></p>
Steve Faulkner<p>👁️ Set heading level based on HTML computed heading level - <span class="h-card" translate="no"><a href="https://indieweb.social/@keithamus" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>keithamus</span></a></span> </p><p><a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.social/tags/WebStandards" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebStandards</span></a> <a href="https://mastodon.social/tags/a11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a11y</span></a></p><p><a href="https://github.com/w3c/aria/pull/2598" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/w3c/aria/pull/2598</span><span class="invisible"></span></a></p>
Aral Balkan<p>The new integrated Markdown parser I’ve been implementing in Kitten has been kicking my ass for the past few weeks but I think I finally have it fully working and seamlessly so. Expect a new release this/next week that brings the parsing of Markdown pages (.page.md files) in your apps up to the standard of the recently-improved runtime Markdown parsing in Kitten HTML tagged-template strings (within `&lt;markdown&gt;…&lt;/markdown&gt;` blocks).</p><p>The coolest thing is I was able to implement this without introducing any new syntax. In fact, I was able to simplify things so that you can now add arbitrary JavaScript to your Markdown pages within a multi-line script block in the YAML front matter (`script: |`) and use JavaScript string interpolation syntax in your Markdown (and, of course, Kitten components and conditionals, which, themselves, rely on string interpolation).</p><p>The only place where you have to deviate from standard Markdown in your Markdown pages is if you have JavaScript string interpolations or Kitten components/conditionals in code fences within your Markdown. In that case, you’ll have to escape them (e.g., `&lt;\${Component} /&gt;`, `\&lt;if \${something}&gt;something\&lt;/if&gt;`, etc.). And, to be fair, the person most impacted by this is likely me as the Kitten documentation at <a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a> is written in Kitten so I had a lot of escaping to do. But for any other use case, it means that things should just work and work exactly as they do in JavaScript pages (page.js files).</p><p>Anyway, so this is going to be a breaking change so I thought I’d give you (the three of you playing with Kitten right now?) a heads up. Of course, I’ll be updating the documentation to reflect all this.</p><p>(Remember, Kitten is in pre-release and it’s the framework I’m building/using to create Catalyst – the Small Web hosting solution – and Yarn – a small web – peer to peer – personal site app. So Kitten isn’t the means, not the end. And, at least until the Version 1 API freeze, things can and will break. That said, there’s nothing stopping you from playing with it now and, to be fair, at this point, such breaking changes should become rarer and rarer).</p><p>:kitten:💕</p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/SmallTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallTech</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/Markdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Markdown</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.ar.al/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
CSS by T. Afif :verified:<p>💡 CSS Tip!</p><p>Similar to the :nth-child() trick, we can implement media queries using if() and calculation!</p><p><a href="https://css-tip.com/dynamic-queries/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">css-tip.com/dynamic-queries/</span><span class="invisible"></span></a></p><p>Why reinvent the wheel? With this trick, you can update the width value on the fly (using variables for example). You cannot do it with native queries.</p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a></p>
Digital Mark λ ☕️ 🕹 🙄<p>WTFpotomus. I added "&lt;html lang='en'&gt;" to my pages, hoping it'd stop Safari from its stupid "translation available" thing. And it changed my fucking fonts!</p><p>It's not Fira Sans/Code, which uses a dot 0 and has open 4.</p><p>HARD DRUGS.</p><p>Why is this happening? I'm happy to take the lang back off, but I don't know why it did this.</p><p><a href="https://appdot.net/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a></p>
Hacker News 50<p>How to safely escape JSON inside HTML SCRIPT elements</p><p>Link: <a href="https://sirre.al/2025/08/06/safe-json-in-script-tags-how-not-to-break-a-site/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sirre.al/2025/08/06/safe-json-</span><span class="invisible">in-script-tags-how-not-to-break-a-site/</span></a><br>Discussion: <a href="https://news.ycombinator.com/item?id=44842442" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.ycombinator.com/item?id=4</span><span class="invisible">4842442</span></a></p><p><a href="https://social.lansky.name/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a></p>
A. Lee Bennett Jr.<p>I've seen toots recently celebrating the beauty of simple <a href="https://mastodon.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> sites, especially those with zero <a href="https://mastodon.social/tags/CMS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CMS</span></a>. Just <a href="https://mastodon.social/tags/plain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plain</span></a> <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a>.</p><p>Admittedly I'm happy with my current WordPress-powered sites (self-hosted, NOT dotcom mess).</p><p>But the posts I've encountered made me super nostalgic about the meticulously hand-coded sites I used to build. My favorite was v2.0 of D.T.P. by Lee (see it at <a href="http://2001.dtpbylee.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">http://</span><span class="">2001.dtpbylee.com</span><span class="invisible"></span></a>).</p><p>I think I wrote some rather nicely formatted, tabbed, and annotated code, didn't I?</p>
Aral Balkan<p>🥳 New Kitten Release</p><p>Housekeeping:</p><p> • Updated runtime version to Node version 22.18.0 (latest LTS).</p><p> • Removed `--experimental-global-customevent` in node launch command (as `CustomEvent` is no longer behing the CLI flag since Node v19.0.0)</p><p> • Renamed `--experimental-loader` flag to `--loader` as the experimental prefix is no longer required.</p><p><a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a></p><p>Enjoy!</p><p>:kitten:💕</p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/KittenRelease" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KittenRelease</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/SmallTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallTech</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
Jens Oliver Meiert<p>It’s not appropriate to use the `search` element just for presenting search results—true or&nbsp;false?</p><p><a href="https://mas.to/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a></p>
Rye<p>Gonna write some html tomorrow. </p><p>You got some cool samples of html doing weird things? <br>Like drawings in tables ? </p><p><a href="https://ioc.exchange/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://ioc.exchange/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://ioc.exchange/tags/indieweb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indieweb</span></a></p>
Deyan Ginev<p>You have 4 days:</p><p>The State of HTML 2025 survey covers &lt;math&gt; for the first time.</p><p>Have thoughts? Engage! Survey closes August 15th.</p><p><a href="https://survey.devographics.com/en-US/survey/state-of-html/2025" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">survey.devographics.com/en-US/</span><span class="invisible">survey/state-of-html/2025</span></a></p><p><a href="https://mathstodon.xyz/tags/math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>math</span></a> <a href="https://mathstodon.xyz/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a></p>