A few org-mode macros.
#+MACRO: js #+HTML_HEAD: <script src="$1"></script>
#+MACRO: css #+HTML_HEAD: <link rel="stylesheet" href="$1" />
#+MACRO: color @@html:<font color="$1">$2</font>@@
Block-ish macros are also possible. See this repository for more examples.