No more than six lines, and no more than six words in a 6 by 6 rule.
To copy the formatting of selected text to another place in the document use the paintbrush AKA. Format painter
Answer:
what do u need help with??
You're writing code in 2018 ... a lot of code editors and IDEs have linting built-in, smart autocomplete functionality, etc.
Given the fact that xhtml has mandatory rules, you just need a code editor/plug-in that has strict guidelines for code completion/error handling regarding xhtml ... use VScode editor (you'll definitely find a linting plug-in for html/xhtml linting).