implement MoreHTMLAttribute property and related code generation logic