{"id":14561,"date":"2015-04-30T05:01:21","date_gmt":"2015-04-29T19:01:21","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=14561"},"modified":"2015-04-30T06:52:41","modified_gmt":"2015-04-29T20:52:41","slug":"html5-meter-element-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/html5-meter-element-primer-tutorial\/","title":{"rendered":"HTML5 Meter Element Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/meter.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML5 Meter Element Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/meter.jpg\" title=\"HTML5 Meter Element Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">HTML5 Meter Element Primer Tutorial<\/p><\/div>\n<p>HTML5 brought with it many great features to front-end work on the internet in HTML, and today we talk about one of the newly introduced, and very useful, elements called <a target=_blank title='HTML5 meter tag information from w3schools' href='http:\/\/www.w3schools.com\/tags\/tag_meter.asp'><i>&#8220;&lt;meter&gt;&#8221;<\/i><\/a>.<\/p>\n<p>At its core the <i>&#8220;&lt;meter&gt;&#8221;<\/i> element represents a &#8220;fraction of one&#8221; or perhaps you can think this as a &#8220;percentage of one hundred&#8221;, and, as you&#8217;d guess, a generic &#8220;x<sup>th<\/sup> of y for the fraction x\/y&#8221; idea &#8230; where &#8220;y&#8221; could be your &#8220;max&#8221; parameter, and perhaps your &#8220;min&#8221; parameter is zero.<\/p>\n<p>This element is useful to represent a numerical concept graphically (like a ratio), something we do today with &#8230;<\/p>\n<ul>\n<li>simulation of a stopwatch &#8230; with its seconds, minutes, hours, days, years elapsed<\/li>\n<li>a fraction as (numerator) x \/ y (denominator)<\/li>\n<\/ul>\n<p>Tomorrow we&#8217;ll show you a very commonplace usage for <i>&#8220;&lt;meter&gt;&#8221;<\/i> as a &#8220;progress bar&#8221; which you see so much of on the internet, when you are waiting for something.<\/p>\n<p>So take a look at the HTML code in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/meter.html_GETME\" title=\"meter.html\">meter.html<\/a>, or a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/meter.html\" title=\"live run\">live run<\/a>, for your perusal.  Hope it helps with an HTML project you are on now.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#14561' onclick='var dv=document.getElementById(\"d14561\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=HTML5\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d14561' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>HTML5 brought with it many great features to front-end work on the internet in HTML, and today we talk about one of the newly introduced, and very useful, elements called &#8220;&lt;meter&gt;&#8221;. At its core the &#8220;&lt;meter&gt;&#8221; element represents a &#8220;fraction &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/html5-meter-element-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,17,37],"tags":[1518,549,576,578,652,752,1517,1520,997,1519,1319],"class_list":["post-14561","post","type-post","status-publish","format-standard","hentry","category-elearning","category-gui","category-tutorials","tag-fraction","tag-gui","tag-html","tag-html5","tag-javascript","tag-mathematics","tag-meter","tag-numerical","tag-programming","tag-ratio","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/14561"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=14561"}],"version-history":[{"count":4,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/14561\/revisions"}],"predecessor-version":[{"id":14572,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/14561\/revisions\/14572"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=14561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=14561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=14561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}