I have my habits with LaTeX, then in HTML I don’t know which element can replace the LaTeX’s \subparagraph{}
command. <br />
isn’t a good idea because it is the equivalent of the blank line in LaTeX. I can create a special class “subparagraph” but before I want to know if HTML didn’t have a similar element.
The \subparagrahp{}
LaTeX’s command is something between the paragraph and the HTML’s <br />
element. Overapi didn’t tell me more :/
Someone have any idea please?
You could use a
div
element as the paragraph subsitute andp
elements as subparagraphs, with additional class for styling, this could represent your LaTeX document structure.would translate to: The
h3
tag is just a suggestion, the level depends on your other structure around this.LaTeX'
\paragraph
is a heading element, the next-to-smallest one, so I'd map it to<h5>
, leaving<h6>
for subparagraphs, and use CSS to give themdisplay:inline-block
(run-in headers) and appropriate other styling as desired. This will leavel h1-h4 for title-and-or-chapter, section, subsection, subsubsection.