<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>The Packbats&apos; Weblog</title>
  <link>https://packbat.dreamwidth.org/</link>
  <description>The Packbats&apos; Weblog - Dreamwidth Studios</description>
  <lastBuildDate>Mon, 04 Mar 2024 00:18:52 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>packbat</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/17127286/244784</url>
    <title>The Packbats&apos; Weblog</title>
    <link>https://packbat.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://packbat.dreamwidth.org/340534.html</guid>
  <pubDate>Mon, 04 Mar 2024 00:18:52 GMT</pubDate>
  <title>HTML tips for 90s kids trying to make 20s websites, metadata edition (indiepocalypse.social repost)</title>
  <link>https://packbat.dreamwidth.org/340534.html</link>
  <description>&lt;ul&gt;
&lt;li&gt;&lt;kbd&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/kbd&gt;: you have &lt;a href=&quot;https://html.spec.whatwg.org/&quot;&gt;the modern HTML standard at https://html.spec.whatwg.org/&lt;/a&gt; bookmarked now, you&apos;re not making terrible Microsoft Internet Explorer 5-only broken pages, the browser doesn&apos;t have to use ~*~quirks mode~*~. Stick this at the very top.&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;&amp;lt;html lang=&quot;en&quot;&amp;gt;&lt;/kbd&gt;: If most of the page is in one language - this one is English - then you can tell the browser that so language-dependent stuff can use that. Use the ISO 639 abbreviations. I think. (&lt;ins&gt;Correction:&lt;/ins&gt; BCP 47, not ISO 639. It&apos;s a subset, I think.) Anyway, if part of your page is in another language, you can put &lt;kbd&gt;lang=&quot;whatever&quot;&lt;/kbd&gt; on the element containing the other-language part. (Or, like, wrap it in &lt;kbd&gt;&amp;lt;span lang=&quot;whatever&quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/kbd&gt; if you don&apos;t have one.)&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;&amp;lt;meta charset=&quot;UTF-8&quot;&amp;gt;&lt;/kbd&gt;: Did you make your HTML files using UTF-8? It should be an option in, like, the Save As dialog or something. Anyway, if you did, you can put this in the &lt;kbd&gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&lt;/kbd&gt; part so the browser knows it&apos;s not Windows-1252 or something.
	&lt;ul&gt;&lt;li&gt;Edit: If your server declares a character encoding in an HTTP header, this line will do nothing. It looks like Neocities doesn&apos;t do it for our site, though, so we still need it.&lt;/li&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;&amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&amp;gt;&lt;/kbd&gt;: Okay, so, you didn&apos;t use any tables for layout, right? And you still don&apos;t understand CSS or Javascript? Okay, then your website probably works fine on, like, a tiny screen. You can check this by zooming in like 500% or opening it in a small window or, idk, both. Anyway, the viewport thing tells mobile browsers that they can just display your site normally and it&apos;ll all be good.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Folks who learned HTML in the past fifteen years, feel free to chime in with more hot tips. Because we need them. Please.&lt;/p&gt;

&lt;p&gt;(&lt;a href=&quot;https://indiepocalypse.social/@Packbat/112028116237621683&quot;&gt;Link to Indiepocalypse HTML tips thread&lt;/a&gt;, because which a number of folks did, in fact, chime in.)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=packbat&amp;ditemid=340534&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://packbat.dreamwidth.org/340534.html</comments>
  <category>link time: substantial</category>
  <category>indiepocalypse.social reposts</category>
  <category>read time: a minute</category>
  <category>take my advice</category>
  <category>html</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://packbat.dreamwidth.org/309667.html</guid>
  <pubDate>Wed, 08 Jul 2020 00:35:09 GMT</pubDate>
  <title>Words! Mostly about image descriptions.</title>
  <link>https://packbat.dreamwidth.org/309667.html</link>
  <description>&lt;p&gt;We wrote a bunch of words today! A bunch of them specifically in &lt;a href=&quot;https://dragon.style/@packbat/104474789925792700&quot;&gt;a fediverse thread about obstacles people face to adding image descriptions&lt;/a&gt; riffing off the essay &lt;a href=&quot;https://humanparts.medium.com/amp/p/3af27e312d01&quot;&gt;&quot;Laziness Does Not Exist&quot; by Devon Price&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;...kind of fediverse inside baseball, all things considered, but now our wrists are sending &quot;hey, you might wanna chill a little&quot; signals, so we&apos;re not gonna write a lot more here. So you get the link instead. :P&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;Okay, also: if you&apos;re using the HTML editor to write your Dreamwidth posts, the key is &lt;code&gt;&lt;strong&gt;&amp;lt;img src=&quot;&lt;/strong&gt;[image URL]&lt;strong&gt;&quot; alt=&quot;&lt;/strong&gt;[text to display if image doesn&apos;t load]&lt;strong&gt;&quot; title=&quot;&lt;/strong&gt;[text to display when mouse hovers over image]&lt;strong&gt;&quot;&amp;gt;&lt;/strong&gt;&lt;/code&gt;. If you use &lt;a href=&quot;https://www.dreamwidth.org/file/list&quot;&gt;Dreamwidth&apos;s image hosting&lt;/a&gt;, the HTML it gives you to copy gets auto-filled with the &quot;Title&quot; in the mouseover and the &quot;Short Description&quot; in the alt text.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=packbat&amp;ditemid=309667&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://packbat.dreamwidth.org/309667.html</comments>
  <category>html</category>
  <category>ableism</category>
  <category>packagia</category>
  <category>accessibility</category>
  <category>link time: several minutes</category>
  <category>read time: a minute</category>
  <category>journalling</category>
  <lj:music>Jennah Bell - &quot;3hrs, 59min. (New York)&quot;</lj:music>
  <lj:mood>chipper</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
