TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What color is your markup?

25 pointsby ctrlmetaover 2 years ago

5 comments

samatmanover 2 years ago
This has a really interesting point, that&#x27;s being overwhelmed with weird color stuff that I frankly don&#x27;t understand at all.<p>The point is about a marked-up document&#x27;s concept of &#x27;itself as a document&#x27;, and how this rarely matches to an HTML document, which is a container for the document as well as a bunch of not-document things (navigation header) and para-document things (section sidebar, preview embeds and popups).<p>I <i>think</i> all of the color stuff is meant to illustrate (or should I say, ink) the bad design revealed by this disparity. I didn&#x27;t actually get it, but I&#x27;ve always been a &lt;b&gt;bold&lt;&#x2F;b&gt; sort of person, &lt;strong&gt;strong&lt;&#x2F;strong&gt; just seems like another way to say the same thing, which caught on as a fad.<p>But HTML having markup for documents inside of documents? Strikes me as a good idea. What I don&#x27;t know is if that&#x27;s blue or chartreuse.
评论 #33116433 未加载
taylorbuleyover 2 years ago
Great content and, ironically, I couldn&#x27;t quite make it through due to readability fatigue of knockout white text on black background.
评论 #33115857 未加载
评论 #33116609 未加载
评论 #33119606 未加载
评论 #33115801 未加载
lioetersover 2 years ago
They describe three types of markup.<p>Seems kinda arbitrary, but a curious line of thought - I enjoyed the article. It made me imagine a new kind of hypertext, an evolution of HTML that unifies all these realms and more as a universal templating language. One can dream!<p>&gt; Red markup describes how to present something. One way to spot presentational markup is that it usually doesn&#x27;t make sense if you imagine changing from one media to another (if it&#x27;s a print&#x2F;web document, imagine translating it into an audio recording).<p>&gt; Yellow markup describes the structure of the document itself. To spot structural markup, replace the content (or compare multiple documents in the same format) and see what labels are stable. You can also imagine porting the content to another format (article, book, slide show, and so on) and consider what would break.<p>&gt; Blue markup describes the ontology of things that appear in the content--it names and categorizes them.
评论 #33116234 未加载
cratermoonover 2 years ago
The article that is the inspiration for the title here is worth reading. <a href="https:&#x2F;&#x2F;journal.stuffwithstuff.com&#x2F;2015&#x2F;02&#x2F;01&#x2F;what-color-is-your-function&#x2F;" rel="nofollow">https:&#x2F;&#x2F;journal.stuffwithstuff.com&#x2F;2015&#x2F;02&#x2F;01&#x2F;what-color-is-...</a> It&#x27;s been mentioned on HN before.
collegeburnerover 2 years ago
ngl first time i read that title i couldn&#x27;t figure out if it was a reference to matthew skala or andrew tate