To create your own tags, which you can use in your Muse documents as shortcuts and which will then be substituted for customized HTML markup when publishing to the web, i.e. create custom tables for instance, use the following template, it's very easy.
(add-to-list 'muse-publish-markup-tags
'("blackcode" t t t 'ignore))
;; add the tag at publication level.
(add-to-list 'muse-html-markup-tags
'("blackcode" t t t muse-blackcode-tag))
;; adds the function that does stuff when publishing to HTML.
;;
;; And this function does the actual work. In this case, it puts the
;; stuff inside the tag into a table which I stylesheet to look right.
(defun muse-blackcode-tag (beg end attrs)
(muse-blackcode-table-tag beg end))
(defun muse-blackcode-table-tag (beg end)
(save-excursion
(goto-char beg)
(muse-insert-markup "<table bgcolor=\"#000000\" border=\"1\">
<tr><td border=\"0\"><font color=\"#FFFF00\"><b>$ ")
(goto-char end)
(muse-insert-markup "</b></td></tr></table>")))
The above code takes the text between the blackcode tags and inserts it into a customized black table with yellow text in the published HTML Muse document.