3 ms·
I feel surprised by how succinct, easy-to-understand, and sensible the policy (M-23-22) is: > Default to HTML: HyperText Markup Language (HTML) is the standard
by murphyslab 3y ago
I feel surprised by how succinct, easy-to-understand, and sensible the policy (M-23-22) is:
> Default to HTML: HyperText Markup Language (HTML) is the standard for publishing documents designed to be displayed in a web browser. HTML provides numerous advantages (e.g., easier to make accessible, friendlier to assistive technology, more dynamic and responsive, easier to maintain). When developing information for the web, agencies should default to creating and publishing content in an HTML format in lieu of publishing content in other electronic document formats that are designed for printing or preserving and protecting the content and layout of the document (e.g., PDF and DOCX formats). An agency should develop online content in a non-HTML format only if necessitated by a specific user need.
https://www.whitehouse.gov/omb/management/ofcio/delivering-a-digital-first-public-experience/ https://www.whitehouse.gov/omb/management/ofcio/delivering-a...
- wolverine876 3y agoHmmm ... accessibility is essential, but PDF is far better for static documents: There's no straightfoward, standard way to read an html document on another platform. Also, the html document may not be readable in 10+ years (unlike most PDFs), and updates are too fluid and hard to track. I think the general problem is that the end-user doesn't control an html document, e.g., for annotation, as a local record, etc.
- shakow 3y ago> There's no straightfoward, standard way to read an html document on another platform. What do you think of the epub format?
- wolverine876 3y agoI wish so much for it: Despite all our advances, we lack an editable, local, multimedia, platform (and form-factor) independent, self-contained file - essentially a word-processing file for the 21st century (and I mean it's almost a quarter-century overdue). epub has that potential as a format, and being based on web standards it has capability, a universe of supporting tools and technology, and easy adoption to different applications. But I haven't heard anyone else express that particular interest, and as of a few years ago epub doesn't allow annotations and is not stable (i.e., I don't know that today's epub file will be readable in 20 or 50 years) - two essential requirements for a serious local content, imho. And even if it meets those specifications, we need epub editors that are the equivalent of word processsors for non-technical users.
- LordDragonfang 3y ago...What are you talking about? HTML files are readable on basically every platform, even moreso because they are fundamentally text files (unlike PDFs, which are binaries). PDFs need special software, html can be read on the command line. Likewise, HTML is dead simple to edit and annotate. Seriously, name a single device that has PDF support that doesn't allow you to view HTML. I think you're conflating "html" and "things stored on a server", because all of your objections apply to pdfs stored on a server. The ability to save and annotate pdfs is not an inherent feature of the file format, they exist because the format is such a PITA to interact with that specialized programs have to be written. HTML can be saved just as easily, and usually is (on archive.org).
- wolverine876 3y agoHow do I save an HTML document locally, and annotate it, in an easily sharable form, and in a form that is stable - i.e., in a way that will be readable and useable in 20-50 years?
- GoblinSlayer 3y agoYou say it as if pdf is somehow better. To begin with it's a proprietary format. If Adobe goes bankrupt or obscure tomorrow, pdf will go out of use as a failed technology.
- wolverine876 3y ago> it's a proprietary format. If Adobe goes bankrupt or obscure tomorrow, pdf will go out of use as a failed technology. It's an ISO standard with a very large ecosystem outside Adobe. Many users and businesses I know don't use Adobe at all.
- GoblinSlayer 3y agoThey will use it, like COBOL. But are COBOL programs usable on your machine?
- 3y ago
- nonethewiser 3y ago> There's no straightfoward, standard way to read an html document on another platform. Such as? What doesn’t have a browser but can render pdfs?
- wolverine876 3y agoI mean, how do I save it locally on one platform and read it on any platform? Or share it with someone else to read (without them downloading software)? I.e., we don't have a standard, local, single-file html format.
- thfuran 3y agoPrint it to a pdf
- Zuiii 3y agoYou're right. We could have such a format if browser and os vendors were interested in supporting such a use case. Unfortunately, they aren't. On the browser side, supporting all-in-one html files can be as simple a reading a single multipart-encoded page. Heck, if they support automatically serializing all external resources as datauris when saving pages, then most browsers will be able to open them without any modification. On the OS side, operating systems can treat html files as first class citizens; execute them in an offline sandbox (most operating systems have embedded webviews), then extract icon, title, description and other metadata to present to the user. An icon the consists of a blank page with a small browser icon in the corner doesn't tell me anything about what the page is about. This needs to change. In short, html can be easily made nicer to deal with locally thanks to all the parts already being in place. The problem is that no one (tech giants, os vendors) are interested in doing this.
- Flimm 3y ago.mhtml (or .mhtm) is that format. It's an archive containing an HTML file along with all the resources it references (JavaScript, CSS, and images). These browsers support it: Internet Explorer, Edge, Opera, Chrome, Yandex, and Vivaldi. Create one by saving the web page and choosing the .mhtml format. Safari supports another format called webarchive. https://en.wikipedia.org/wiki/MHTML https://en.wikipedia.org/wiki/MHTML