DEV Community

Cover image for 8 Shocking HTML tips you probably don't know about

8 Shocking HTML tips you probably don't know about

ππšπ›π’ ✨ on May 26, 2022

These are a collection of HTML tips I learned that would definitely blow your mind! 1. Capture attribute to open your device camera Jus...
Collapse
 
rafaacioly profile image
Rafael Acioly

Great post, I also like to look at this site when I want to know more about HTML;

htmlreference.io/

Collapse
 
babib profile image
ππšπ›π’ ✨

Thanks for sharing ☺️

Collapse
 
khuongduybui profile image
Duy K. Bui • Edited

Number 2 can also be used to redirect after the delay if you give the meta tag a URL to redirect to.

Collapse
 
babib profile image
ππšπ›π’ ✨

Didn't know that. Thanks for the input

Collapse
 
vulcanwm profile image
Medea

Wow I learnt something new!

Collapse
 
soniarpit profile image
Arpit

Amazing

Collapse
 
lebogang26 profile image
Lebogang Sekaleli

Wow. Thanks Babi.

Collapse
 
arunagnihotri profile image
Arun Agnihotri

learnt only 8 points!! :-)

Thanks Babi.

Collapse
 
babib profile image
ππšπ›π’ ✨

Only 8 for now... πŸ˜‚

Collapse
 
ricardochan profile image
Ricardo Chan

Pretty neat!

Collapse
 
philipdeve profile image
Philip Ifeanyi

Thanks for sharing this

Collapse
 
babib profile image
ππšπ›π’ ✨ • Edited

You're welcome 😊

Collapse
 
cattjames profile image
James Catt

Nice list! #2 is a WCAG failure though: w3.org/TR/WCAG20-TECHS/F41.html

Collapse
 
babib profile image
ππšπ›π’ ✨

Thanks. I'll check it out

Collapse
 
sique976 profile image
San D.

Uau!! Congrats!!

Collapse
 
mikec711g profile image
Michael Casile

Great article. Got right down to it and in this concise article covered them well. Thanks,

Collapse
 
amiamigo profile image
Ami Amigo

Beautiful!

Collapse
 
r4nd3l profile image
Matt Miller

Actually it's 8. Two "3." points are there!

Collapse
 
babib profile image
ππšπ›π’ ✨

Thanks Matt Miller!

Collapse
 
footballfan141 profile image
Travis

Thank you for sharing, this is great info to know! πŸ˜€

Collapse
 
wabualela profile image
Wail Abualela Osman

Good tips thanks for sharing.

Collapse
 
sherribooher profile image
Sherri Booher

I learned a lot of new things today! Thanks so much for sharing this!

Collapse
 
babib profile image
ππšπ›π’ ✨

You're welcome

Collapse
 
bbaublys profile image
Boris Baublys

Wonderful

Collapse
 
rustysamdev profile image
RustySamDev

Wonderful tips you've shared here. Surely gonna try them out.

Collapse
 
ana_839b2d6e profile image
Coding Pianist

Thanks I leaned something new.

Collapse
 
d3sox profile image
Nico

It would be great if you could add MDN links to all those, for example for translate: developer.mozilla.org/en-US/docs/W...
You should also add HTML syntax highlighting to those code blocks

Collapse
 
toantd90 profile image
Toan Tran

Great article!

I would like to know in which case we may want to refresh the page after x seconds ?

<meta http-equiv="refresh" content="10">
Enter fullscreen mode Exit fullscreen mode