DEV Community

What HTML5 specific features have you used?

Kyle Johnson on June 05, 2019

I would like to know from people in the dev community, what HTML5 specific features have you used?

I personally don't see many HTML5 specific features used on the web so that is why I'm asking.

Collapse
 
chrismauck profile image
Chris Mauck

I've recently been doing a lot of tinkering/learning in indexedDB. When it comes to storing files as blobs and opening them, no problem. But if you want a download option, you need to set the "download" attribute and provide a name. Not that out there for sure, but notable as specific to HTML5 and I just used it yesterday.

Collapse
 
thatamymac profile image
Amy MacKinnon
  • Form element types, constraints, and placeholders
  • Semantic tags like header, nav, footer, section, article, et al
  • File API
  • Drag and Drop API

And that’s just what I use regularly

Collapse
 
kyleljohnson profile image
Kyle Johnson

Hold up! You are the first person I even heard of that uses the drag and drop api. Does that work as well as I hope it works? As do you have experience doing drag and drop before HTML5?

Collapse
 
thatamymac profile image
Amy MacKinnon

I think it works pretty well. I've used it to implement a couple different different drag and drop file widgets at companies that I've worked at. HTML5 has been around since about 2011, and thinking back that far I don't think I ever tried to do anything with drag and drop before that, so I don't really have a comparison, but I do think it's pretty straight forward and simple.