[pmwiki-users] Complex links with standard markup?
5ko at 5ko.fr
5ko at 5ko.fr
Tue Feb 28 09:38:47 CST 2012
Martin Kerz writes:
> is it possible to create complex links using standard markup? I would love
> to have something like this:
>
> <a href="Group/Page">
> <h3>Link</h3>
> <p>This is a fine link</p>
> <p><b>that you should click</b></p>
> </a>
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? 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 .
So, you can probably have
[[link | '''Link''' %more% This is a fine link %% ]]
Petko
More information about the pmwiki-users
mailing list