Live data from Hacker News

Writing HTML by hand

simblob.blogspot.com

51–60 of 76 posts

Re: Writing HTML by hand

#51

HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…

10 years ago, I got frustrated adding in all the closing tags for my blog's articles, so I implemented Markdown. It made writing long articles so much easier that I wouldn't dare go back and wonder why I waited so long to do it.

Re: Writing HTML by hand

#52

HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…

I really love Elm's way of writing html. It's like writing html without closing tags, just indentation.

When writing html for documents and not as code, indenting everything really lost its luster to me, it's really nice to have the content root flush with the left margin.

Re: Writing HTML by hand

#53

Earlier quoted context omitted.

is a self closing tag. This is used in XML / XHTML for elements that have no contents. It is a valid short form of

technically is not allowed to have an end tag in the HTML spec https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br so it should be on its own or

A silly corner of the spec, considering that this is a spec that specifies exactly how to handle e.g. misnested elements and admits plenty of other things that read intuitively as standardized sloppiness.

Re: Writing HTML by hand

#54

HTML is how I write . I struggled with Markdown (and various other mark up formats) for a long time, until I realised that, for me, nothing beats plain HTML for simplicity and expressive power. I now use HTML the way people generally use markdown: as an open, easy to read, easy to write, plain-text format for taking notes, writing articles, expressing thoughts, and so on. I didn't really choose HTML, I just sort of n…

I really love Elm's way of writing html. It's like writing html without closing tags, just indentation.

For me personally, elmish offers even better usability. But thats probably down to simple familiarity.

Re: Writing HTML by hand

#55

Earlier quoted context omitted.

I lived through the XHTML era; when I was doing web-design I adopted it for many projects. It just seemed right to rigorously enforce a formal approach, and I suspect it reduced errors. Took me a long time to train myself out of afterwards though. But the optional-style works I think for writing . Especially if you're just writing a document . If you don't have site-menus, a search bar, social-media sharing icons, ja…

You mean , presumably.

Wow, thanks everyone... it seems I've misunderstood this all these years.

Re: Writing HTML by hand

#57
I write HTML by hand, and I am into retro-computing, so I write for Any Browser (with progressive enhancement for cooler features).

The p tag is one of the most frequent.

I use span tags for placeholders in templates, that way the HTML is still usable before it is filled in.

The tag form is important to remember, because older browsers will not even display input elements without it, and you won't be able to address them.

The font tag gets a lot of scorn these days, but it is the only compatible way to color individual parts of text in older browsers, so I use it sparingly, via templates.

There is a subset of HTML 2.0 which works consistently across about 25 years of browsers, and I think it is one of the most amazing technologies we have in the world, for its longevity, resilience, and open/unowned nature.

Re: Writing HTML by hand

#59
post #35

Earlier quoted context omitted.

links are such a pain to write though. Probably the biggest annoyance when I write in raw html.

But is [abc]( http:// ...) any better? I can never remember which brackets to use, and I've been using Markdown for years now. I never have a problem remembering the HTML syntax.

My problem exactly. My memory seems not to work well for symbols which rely mostly on position. Is it URL first or link text first, and do I put the URL in round or square brackets? Same with formatting: Is the first * italics or bold? I can remember and much better, and will trade off a bit of verbosity for not straining my memory anytime.

Re: Writing HTML by hand

#60

Earlier quoted context omitted.

I lived through the XHTML era; when I was doing web-design I adopted it for many projects. It just seemed right to rigorously enforce a formal approach, and I suspect it reduced errors. Took me a long time to train myself out of afterwards though. But the optional-style works I think for writing . Especially if you're just writing a document . If you don't have site-menus, a search bar, social-media sharing icons, ja…

You mean , presumably.

[deleted]
Post reply on HN