Change my mind.

  • ilinamorato@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    15 hours ago

    <title> exists to be human readable.

    The text within <title> exists to be human readable, but the tag itself exists so that the browser application knows what to put in the title bar.

    Uhh ask any non-tech person to write a markdown file. This simply is not true.

    Write, sure. But I meant read.

    A header 2 tag (h2) in HTML requires no more training than a header 2 tag (##) in Markdown.

    I did mention that that was one of the more bilaterally semantic parts of the language, alongside emphasis and strong tags. But I still think the ## is easier for a regular user to understand.

    • Fmstrat@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      12 hours ago

      If <title> isn’t intended to be human readable, why not use \0 instead? Every tag could be 2-3 characters, saving space and increasing machine processing speed.

      • ilinamorato@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        This is the entire argument I’m making. HTML makes compromises that makes it harder for the human to read and also harder (or at least less optimal) for the machine to read. Markdown codifies an existing human-readable format in a way that a machine can handle easily, too.