I was wondering if there would be any problems if I added a list inside a H1 heading:
<h1>
<ul>
<li><a href="...">some link</a></li>
<li><a href="...">another link</a></li>
<li>current page</li>
</ul>
</h1>
the list is a “breadcrumb” type navigation.
Or is it better to insert it inside the list?
<ul>
<li><a href="...">some link</a></li>
<li><a href="...">another link</a></li>
<li><h1>current page</h1></li>
</ul>
It’s not valid to have a ul inside a h1, the best way of checking is to use http://validator.w3.org/ to check your structure, that way the doctype you are using will be considered. (but it’s still not valid!)