Photo by Jackson Sophat on Unsplash
Top 7 Super Cool HTML Elements You Didn't Know About
Start using these elements right away in your next project!
2 min read
progress element is the semantically correct way of displaying progress bars.
meter element is
progress on steroids. Apart from displaying a scalar measurement within a known range, it allows you to specify the value's low, high & optimum range.
<meter min="0" max="100" low="25" high="75" optimum="80" value="50" ></meter>
You can add superscripts (like
sup and subscripts (like
sub to your document.
datalist allows you to add an autocomplete suggestions to your
- The suggestions are NOT LIMITED to text
inputs, but can be used with color, date, time, and even range inputs.
- The default styling of the suggestions is unpleasant to look at, to say the least. But, you can always style it using CSS.
area allow you to create image maps, which is a fancy term for images with clickable areas.
<img src="workplace.jpg" alt="Workplace" usemap="#workmap" width="400" height="379" /> <map name="workmap"> <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.html" /> <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.html" /> <area shape="circle" coords="337,300,44" alt="Cup of coffee" href="coffee.html" /> </map>
Pulling your hair out to embed files on your website? Look no further!
object allows you to embed a wide range of files like PDFs, images, videos, audio and even Youtube videos.
abbr element allows you to add abbreviations to your document. When the user hovers over the abbreviation, the full form is displayed. Moreover, screen readers can also be configured to read out the full form when an abbreviation is encountered.
Did you find this article valuable?
Support Grejo Joby by becoming a sponsor. Any amount is appreciated!