{"id":20734,"date":"2023-08-25T15:54:50","date_gmt":"2023-08-25T22:54:50","guid":{"rendered":"https:\/\/www.kith.org\/jed\/?page_id=20734"},"modified":"2024-09-21T23:22:57","modified_gmt":"2024-09-22T06:22:57","slug":"old-html-authoring-tips","status":"publish","type":"page","link":"https:\/\/www.kith.org\/jed\/hodgepodge\/nonfiction\/old-html-authoring-tips\/","title":{"rendered":"Old HTML authoring tips"},"content":{"rendered":"\r\n\r\n<p class=\"pub-history-dates\">(Last addition: 5 January 1997.)<\/p>\r\n\r\n<hr width=\"25%\" \/>\r\n\r\n<p>This document contains a few tips on writing HTML. I suppose one could\r\nalternatively call these workarounds for bugs in Netscape Navigator... This\r\npage assumes you're familiar with the basics of HTML; if you aren't, see\r\n<a href=\"http:\/\/www.ncsa.uiuc.edu\/General\/Internet\/WWW\/HTMLPrimer.html\">A\r\nBeginner's Guide to HTML<\/a>.<\/p>\r\n\r\n<ul>\r\n\r\n<li><p>If you've got a link target near the end of a page, add this to the end\r\nof the page:<\/p>\r\n<pre>\r\n&lt;pre>\r\n\r\n[insert a screen's worth of blank lines here -- maybe 40 of 'em]\r\n\r\n&lt;\/pre>\r\n<\/pre>\r\n<p>Then when you link to the target (using a #target href), the target comes up\r\nat the top of the window instead of the bottom of the window. This goes a\r\nlong way toward preventing reader confusion. (For those with browsers that\r\nhandle the situation better, if anyone: if you use Netscape Navigator to\r\njump to a target at the bottom of a page, the target comes up at the bottom\r\nof the window, often making it very difficult to find on the screen.)<\/p>\r\n<\/li>\r\n\r\n<li>You can get a registered-trademark symbol (&reg;) by using the\r\n\"&amp;reg;\" <a href=\"http:\/\/www.bbsinc.com\/iso8859.html\">entity<\/a>.\r\nUnfortunately, nobody thought to provide a normal trademark (TM) entity.\r\n\"&amp;trade;\" is an entity name, but Netscape Navigator\r\nwon't interpret and display it properly. The closest you can get to this in\r\nNetscape at the moment is: <code>&lt;font size=1>(TM)&lt;\/font><\/code>,\r\nwhich generates a small <font size=1>(TM)<\/font> in parentheses. It's not\r\nthe small superscripted TM that most lawyers would prefer, but apparently\r\nit'll do in a pinch.<\/li>\r\n\r\n<li>Until someone follows my suggestion and makes footnotes an integral part\r\nof HTML, with a special tag, you can do pseudo-footnotes by combining two of\r\nthe above tricks: make a link, the text of which is a small number in\r\nparentheses. Link it to a target at the bottom of your page, then put a\r\nbunch of pre-formatted blank lines at the end. You may want to provide an\r\nexplicit \"back\" link from the footnote text as well.<\/li>\r\n\r\n<li>This has more to do with Webmastering than with authoring <i>per se<\/i>: if the\r\nmain file in a directory has a name other than index.html, create a symbolic link (or\r\nalias) from the filename index.html to your main file. Since index.html is the\r\ndefault page name, when a user just gives the directory name ta will get your main\r\npage.<\/li>\r\n\r\n<\/ul>\r\n\r\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"parent":5482,"menu_order":560,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-20734","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/pages\/20734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/comments?post=20734"}],"version-history":[{"count":1,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/pages\/20734\/revisions"}],"predecessor-version":[{"id":20735,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/pages\/20734\/revisions\/20735"}],"up":[{"embeddable":true,"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/pages\/5482"}],"wp:attachment":[{"href":"https:\/\/www.kith.org\/jed\/wp-json\/wp\/v2\/media?parent=20734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}