HTML, XML and other markups ########################### .. contents:: General ======= * Unlike other files, indentation for XML/HTML is 2 spaces. * Don't use inline HTML style attribute. Only CSS class. * Use HTML5 doctype:: CSS interaction =============== * Make sure all elements that are used in JS have an ID. This helps with testing. * Make sure all related elements have the same class. * Make sure that a page will not contain the same ID more than once. HTML tags usage =============== * Don't use new HTML5 elements/tags and API. * Don't use deprecated HTML4 elements/tags. * Paragraphs of text should always be placed in a

tag. Never use multiple
tags. * Items in list form should always be in