Oh yeah, sorry. But who writes HTML4 this days, specially using
jQuery? ;)

On Sep 16, 6:55 am, k3liutZu <[EMAIL PROTECTED]> wrote:
> If he is using HTML  then <br> is actually correct.
>
> On Sep 15, 9:32 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
>
> > Anchor elements are inline, unordered lists are block elements. A
> > paragraph can only contain inline elements. And you should close your
> > (unncessary)<br /> tags too! Semantically correct markup would be:
>
> > <div>
> > <p>text</p>
> > <ul>...</ul>
> > </div>
>
> > Then you don't need line-breaks cluttering your code.
>
> > On Sep 15, 9:37 am, RobG <[EMAIL PROTECTED]> wrote:
>
> > > On Sep 15, 9:08 pm, zephyr <[EMAIL PROTECTED]> wrote:
>
> > > > Ok, i found it.
> > > > The p element doesn't allow <ul> as a content. ... Strange because
> > > > elsewhere I do have <a href="">blablabla</a>
> > > > in a <p> tag and that's ok...
>
> > > Because the HTML specification says that A elements are allowed inside
> > > P elements and conforming browsers oblige.
>
> > > --
> > > Rob

Reply via email to