Can I add / get attributes from html elements?

Hi,

Is there a way to add attributes to html elements on weweb?

Can you give an example?