There is no append support without reparsing the whole innerHTML. This makes changing innerHTML directly very slow. innerHTML does not provide validation and therefore we can potentially insert valid and broken HTML in the document and break it.
What are the disadvantages of CSS?
Disadvantages of CSS:
- CSS, CSS 1 up to CSS3, result in creating of confusion among web browsers.
- With CSS, what works with one browser might not always work with another. …
- There exists a scarcity of security.
- After making the changes we need to confirm the compatibility if they appear.