Hi,
I have found validating under HTML5, the validator is throwing up errors for using free text with an unordered list.
EG.
So I have replaced this free text within the <ul> tag with a HTML5 <figure> tag.
EG.
Would you agree that this is semantically correct, or should I be using something else?
Your input is appreciated.
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I have found validating under HTML5, the validator is throwing up errors for using free text with an unordered list.
EG.
Code:
<ul>some free text
<li>1st list item</li>
<li>2nd list item</li>
</ul>
So I have replaced this free text within the <ul> tag with a HTML5 <figure> tag.
EG.
Code:
<figure>
<figcaption>some free text</figcaption>
<ul>
<li>1st list item</li>
<li>2nd list item</li>
</ul>
</figure>
Would you agree that this is semantically correct, or should I be using something else?
Your input is appreciated.
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music