Whats the best method to add h tags

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

Also another bug in WD6 and when you try to validate code it's not correct

<a href="" onclick="return(false);">