israel love php israel love php - 1 year ago 196
HTML Question

error on eclipse Invalid location of tag (b)

I start to work with eclipse debugger. I write a simple html file with two different lines.

<h3 id="TitleField">Array Function </h3><b />

I got Exclamation mark with "Invalid location of tag (h1)." and "Invalid location of tag (b).".
What am I doing wrong ?

Answer Source

With headers and paragraphs it automatically starts on a new line, so the <br> tag is not necessary. <h1>, <h2>, <h3>, etc. are titles, and <p> are paragraphs.

You post titles above paragraphs and not inside them, which would look like this:

<p>your text</p>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download