Using node attributes in HTML style label

If I understand your question, unfortunately, no. I think some folks use macro or scripting languages like m4, cpp (the C macro language), awk, python, or gvpr (comes with the Graphviz system) to preprocess the input.