Enhancing API with HTML Attribute Support

Let’s extend our DSL to support an optional keyword list that is translated into tag attributes for each macro.

Supporting more tag attributes

To make the HTML library truly useful to the world, let’s add support for tag attributes such as class and id. Let’s extend the DSL to support an optional keyword list that gets translated into tag attributes for each macro.

Get hands-on with 1400+ tech skills courses.