Quote:
Originally Posted by Sarmat89
That's the problem; the headings are not paragraphs. A common header has from two to 4 parts. Only in manuals they write the header and the number in a single paragraph.
There is no provision in HTML for headers consisting of multiple parts.
They are from the original HTML specification, which was made for man pages. Also, only American-style technical manuals can be adequately formatted with <h> tags.
|
Sorry, but this is nonsense.
Headings work just like paragraphs with
<hn (where n is 1 to 10, but ebooks are best limited to any 3 levels) instead of
<p.
Headers can have as many parts as you want.
Original HTML was not for "man" pages. Original HTML spec was about 1998 or 1999 and websites using it from about 1992. It had no CSS. The Mobi format was already obsolete in 2015 when Amazon bought Mobipocket and more so on first Kindle in 2017. It uses HTML3 and there is no difficultly simulating any paper book multi-line headings.
"American style manuals"? HTML wasn't even an American design. It was by a British guy in Switzerland.
Edit:
In fact now with CSS and HTML you can interchange h and p tags and the appearance is identical if font-weight is specified. The only differences are automatic ToC building using <h tags and semantic (maybe some screen readers).