The align attribute on the div element is obsolete

how to remove the "align" attribute on div tag, as in HTML4 and later versions the "align" attribute is deprecated, since the "align" attribute is been added by default WC3 Validator is showing it as an error.

how can I fix the below errors/warnings in outsystems

1.The type attribute is unnecessary for JavaScript resources. 

2.The align attribute on the div element is obsolete

Hi Hari,

Regarding your question and to solve temporarily your issue, I suggest you run the following JS Script, to remove the "align" attribute from all your div´s:


Let me know if this have helped you in some way,

Best Regards,

Aureliano Pinheiro

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.