💾 Archived View for x-z.se › htmlite › gemlog › 2020-10-09_less-containers.gemini captured on 2021-12-06 at 14:29:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Less containers

Written by Katarina - 2020-10-09 15:00 CEST

HTML documents tend to wrap everything in a <html> element. We don't need that in HTMLite, the file boundary is good enough for us.

Inside the <html> element, HTML tend to have a <head> element and then a <body> element. Since we can't have meta type elements in the body, the first thing that isn't a meta type element should suffice as a seperator.

Stray text and inline type elements before the first literal block type element are assumed to belong to an implied <p> element.

In HTMLite, stackable block type elements only stack if they are properly closed.