Hallo Gunnar.
label wäre auch das einzige, was mir einfällt, um Bildunterschriften auszuzeichenen.
Wobei mir folgendes besser gefiele:
<img src="foo.png" alt="Foo" title="Der Schriftzug „Foo“ eben" />
img::after {
content:attr(title);
display:block;
}
Aber hier lässt sich abgesehen von der Unterstützung in einem bekannten und weit verbreiteten Browser streiten, ob die Bildunterschrift zum relevanten Inhalt und deshalb ins HTML gehört. Angenehm wäre diese Lösung aber allemal.
Einen schönen Sonntag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]