danshafer Posted June 2, 2014 Share Posted June 2, 2014 In the TryIt example in the documentation of the meter tag, the following examples are given: <meter value="2" min="0" max="10">2 out of 10</meter><br><meter value="0.6">60%</meter> But both of these fragments produce an unlabeled meter object in Chrome, Firefox and Safari on OS X. Reading other notes on other sites, it appears that the tag without contained text intended as a label is an acceptable syntax and apparently the only thing that actually works as expected on those browsers. 1 Link to comment Share on other sites More sharing options...
davej Posted June 2, 2014 Share Posted June 2, 2014 Are you talking about the fallback text? "Authors are encouraged to include a textual representation of the gauge's state in the element's contents, for users of user agents that do not support the meter element" http://dev.w3.org/html5/spec-preview/the-meter-element.html Link to comment Share on other sites More sharing options...
PhilOfPerth Posted June 2, 2015 Share Posted June 2, 2015 (edited) @ danshafer i agree with your report. I had also found the error you noted and came here to investigate it. @davej The text between the <meter> and </meter> tags (i.e. 2 out of 10 in the demo) doesn't display. (not the fallback text) <meter value="2" min="0" max="10">2 out of 10</meter> Edited June 2, 2015 by PhilOfPerth Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now