bytecounter
bytecounter

Reputation: 133

Invalid location of tag a

I've a small phtml file:

<nav>
   	<a href="/index">Home</a>
   	<a href="/help">Hilfe</a>
</nav>

Eclise says "Invalid location of tag (a)". But why?

Upvotes: 1

Views: 4019

Answers (1)

morels
morels

Reputation: 2105

Tipically it is expected the nav to contain an <ul><li> list of links as documented here http://dev.w3.org/html5/html-author/#the-nav-element

Upvotes: 2

Related Questions