Refactor and add notes to HTML.mdown