[pmwiki-users] Complex links with standard markup?

Martin Kerz mkerz at me.com
Tue Feb 28 11:07:33 CST 2012


Dear Petko,

thanks for your help.

> This is certainly invalid HTML in all standards. Inside an <a> tag you can have only "inline" tags line <b>, <i>, <em>, <tt>, <span>. You cannot have block tags like <p>, <h#> or <div> among others.
> 
> Why would you need such links?

Formatted lists in jquery mobile are achieved by block elements within anchor tags: http://jquerymobile.com/demos/1.0.1/docs/lists/lists-formatting.html


> Via CSS it is possible to apply block level styles to inline tags, you can show/hide parts of the link text, etc. See for example http://www.pmwiki.org/wiki/Cookbook/CSSPopups .

I'll investigate this solution. Thanks a lot.

Martin




More information about the pmwiki-users mailing list