If I have the following line in an org-mode file


If I export to HTML, it becomes:


This applies the CSS I have for my <p tags around the <section> tag, resulting in a lot of unwanted padding.

If I use the following:

#+begin_export html

I get the tag without the <p> tags, but that's three lines of text just for a single tag.

For background, I'm trying to see if I can get tufte-css to work with org-mode's HTML export. The CSS requires headings to be wrapped in <section> tags.

1 Answer 1


Looks like

#+HTML: <section>

does the trick.

It adds the <section> without wrapping it in <p> tags.

  • Can you elaborate? What trick does it do? Why/how does this answer the question?
    – Drew
    Apr 1, 2019 at 4:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.