c.bu...@posteo.jp [2023-01-03 Tue 13:20] wrote: > in org you can have inline verbatim and code text elements like this. > > Example with =verbatim= and ~code~. > > The org html export to create both with <code> tag. So in HTML output > there is no difference between verbatim and code anymore. > > I also read a lot about the HTML tags code, pre, kbd and samp. > > The background of my question is that I have my own > org-to-html-converter [1] and try to decide how to treat =verbatim=.
According to https://stackoverflow.com/questions/32284477 they have different semantics but are rendered the same (by default); they could be rendered differently, depending on a website's CSS. Maybe use the semantics for your own org-html converter. -- Daniel Fleischer