[WSG] html5 quest: figure
Can the figure element use for slideshow, e.g. div class=slider figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure /div Or maybe the question should be , can a single figure contains many figcaption? And use it for slidershow's markup. figure img src=image1 / figcaption description,,,/figcaption img src=image2 / figcaption description,,,/figcaption img src=image3 / figcaption description,,,/figcaption /figure Thanks! tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 quest: figure
On 7/18/11 7:47 PM, tee wrote: Or maybe the question should be , can a single figure contains many figcaption? And use it for slidershow's markup. Thanks! tee Not really sure whether this answers your question from an article in html5 doctor but either way you may want to check it for yourself [1]. The |figcaption| element is optional and can appear before /or/ after the content within the |figure. Only one |figcaption| element may be nested within a |figure, although the |figure element itself may contain multiple other child elements (e.g., |img| or |code|).||| [1] http://html5doctor.com/the-figure-figcaption-elements/ ~d -- http://chelseacreekstudio.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 quest: figure
Tee, Good question - the HTML5 working draft does not specifically say, but the following seems to indicate that there should be only one figcaption element per figure: The figcaption element Contexts in which this element can be used: As the first or last child of a figurehttp://www.w3.org/TR/html5/grouping-content.html#the-figure-element element. HTML5 doctor backs this up with a little more detail: http://html5doctor.com/the-figure-figcaption-elements/ For a slideshow, maybe you could try using one figure with multiple images, and modify the content of the single figcaption dynamically for each slide. - Jon On Mon, Jul 18, 2011 at 7:47 PM, tee weblis...@gmail.com wrote: Can the figure element use for slideshow, e.g. div class=slider figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure /div Or maybe the question should be , can a single figure contains many figcaption? And use it for slidershow's markup. figure img src=image1 / figcaption description,,,/figcaption img src=image2 / figcaption description,,,/figcaption img src=image3 / figcaption description,,,/figcaption /figure Thanks! tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] html5 quest: figure
Not really sure whether this answers your question from an article in html5 doctor but either way you may want to check it for yourself [1]. The figcaption element is optional and can appear before or after the content within the figure. Only one figcaption element may be nested within a figure, although the figure element itself may contain multiple other child elements (e.g., img or code). [1] http://html5doctor.com/the-figure-figcaption-elements/ ~d Thanks David, I came from the html5doctor's office :) Couldn't get the prescription that I thought useful for this particular case. tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
RE: [WSG] html5 quest: figure
Hi Tee The first one is the better for the slide show, though the figure tag is the html 5 tag, so you have to check this in the various browser. Regards Birendra(Web Designer) -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of tee Sent: Tuesday, July 19, 2011 5:17 AM To: wsg@webstandardsgroup.org Subject: [WSG] html5 quest: figure Can the figure element use for slideshow, e.g. div class=slider figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure figure img src=image / figcaption description,,,/figcaption /figure /div Or maybe the question should be , can a single figure contains many figcaption? And use it for slidershow's markup. figure img src=image1 / figcaption description,,,/figcaption img src=image2 / figcaption description,,,/figcaption img src=image3 / figcaption description,,,/figcaption /figure Thanks! tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***