HTML5 element flowchart