DEV Community

Cover image for 5 HTML Tags That Almost Nobody Knows

5 HTML Tags That Almost Nobody Knows

Aya Bouchiha on July 14, 2021

hello everyone, I'm Aya Bouchiha, today, I will talk about 5 HTML tags that almost nobody knows. <mark> <mark> is a tag use...
Collapse
 
mariog8 profile image
Mario Golik

Never heard about "var" in html ! Nice curiosity πŸ˜‰πŸ‘

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Thank you a lot @mariog8 πŸ™βœ¨

Collapse
 
mariog8 profile image
Mario Golik

Not at all ! Aya 😎It is my pleasure.

Thread Thread
 
ayabouchiha profile image
Aya Bouchiha

Have a great day!

Collapse
 
violet profile image
Elena
  • I would also add to that data which can store values with <data value="5">five</data>.
  • There's also details + summary
  • The progress which you can also use a loader
Collapse
 
ayabouchiha profile image
Aya Bouchiha

Thank you so much for the information, Probably, I will create a new post with the same idea as this one.

Collapse
 
alexstandiford profile image
Alex Standiford

One that I use all the time that doesn't get enough love - The definition list

These things don't seem to ever get any love, and there's so many circumstances in-which they are the best syntax for the job.

Ironically enough - the Summary section of this post is a perfect opportunity to use it!

<dl>
    <dh>Summary</dh>
    <dt>&lt;mark&gt;</dt>
    <dd>for highlighting text.</dd>
    <dt>&lt;address&gt;</dt>
    <dd>for showing contact information.</dd>
    <dt>&lt;noscript&gt;</dt>
    <dd>for displaying alternate HTML content if the browser does not support scripting.</dd>
    <dt>&lt;time&gt;</dt>
    <dd>representing a specific period in time.</dd>
    <dt>&lt;var&gt;</dt>
    <dd>for indicating mathematical variables like x & y.</dd>
</dl>
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ayabouchiha profile image
Aya Bouchiha

Thank you so much for the information, perhaps, I will create another post with the same idea as this post. I will not forget to add the definition list in the next one!
Have an amazing day!

Collapse
 
dominikbraun profile image
DB • Edited

Well, if today's web developers don't know the <noscript> tag, things are worse than I thought.

Collapse
 
ludamillion profile image
Luke Inglis

'Almost nobody' might be an exaggeration but it's nice to see this type of post featuring tags that are actually not very well known.

Collapse
 
ayabouchiha profile image
Aya Bouchiha • Edited

I appreciate your feedback @ludamillion πŸ™
I will try to write better titles.
Have a great day

Collapse
 
ludamillion profile image
Luke Inglis

I'm not trying to be critical. There are just an awful lot of rather click bait titles on Dev these days. I almost didn't click on yours. The content is spot on thought. noscript is an important one to know about and the time, address, and mark are definitely underused. mark is my go-to for highlighting things like search results.

Thread Thread
 
ayabouchiha profile image
Aya Bouchiha • Edited

thanks for the feedback, just I share what I learned, and I liked the idea of using them instead of repeating the div tag every time.
Thank you a lot for your feedback, I will try to post better content.
Have a nice day!

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

mark, that's a new one for me

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Happy to hear that you learned a new thing😊

Collapse
 
shareef profile image
Mohammed Nadeem Shareef

Var tag was new to me.

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Me too, I have just read about it yesterday.

Collapse
 
alohci profile image
Nicholas Stimpson

In some ways it's odd that it's so little known as it's one of the oldest tags in HTML. It's at least 28 years old. (see page 26)

Thread Thread
 
ayabouchiha profile image
Aya Bouchiha

😯😯😯😯
Thank you for the information!
😯😯😯😯

Collapse
 
posandu profile image
Posandu

Nice P O S T.
There is a new tag called <thank-you>, see the example below.

<thank-you message="Nice Post" />
Enter fullscreen mode Exit fullscreen mode

🀣

Collapse
 
ayabouchiha profile image
Aya Bouchiha
<comment content="thank you a lot" />
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ats1999 profile image
Rahul kumar

Thanks god!
I already know all of them!

Collapse
 
ayabouchiha profile image
Aya Bouchiha

😁😁

Collapse
 
masedi profile image
Edi Septriyanto

Mark and var is my first time know about it.. Thanks

Collapse
 
ayabouchiha profile image
Aya Bouchiha

My pleasure 😁

Collapse
 
kwnj profile image
Jeff • Edited

Thanks, I didn't know about <mark>, definitely will be using this for the search results in my applications.

Collapse
 
ayabouchiha profile image
Aya Bouchiha

My pleasure !
Have an amazing day!

Collapse
 
sohamkakkar profile image
Soham-Kakkar

I knew every one of them except the "time" tag.

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Good!😁

Collapse
 
midouwebdev profile image
MidouWebDev

Thanks Aya !
I didn't know about these tags !
Btw, i am also from Morocco πŸ˜„

Collapse
 
ayabouchiha profile image
Aya Bouchiha

You're welcome.
You contact me in telegram
Have a nice day!

Collapse
 
beyarz profile image
Beyar

This actually surprised me, what a great article!

Collapse
 
ayabouchiha profile image
Aya Bouchiha • Edited

Glad to hear that, Thank you a lot.
Have an amazing day!

Collapse
 
vighneshnilajakar profile image
Vighnesh Nilajakar

Already knew about address : p

Collapse
 
ayabouchiha profile image
Aya Bouchiha

😁

Collapse
 
sheeraz1022 profile image
sheeraz1022

Thanks a lot for sharing these bite sized learnings.

Collapse
 
ayabouchiha profile image
Aya Bouchiha

You're always welcome !

Collapse
 
aatmaj profile image
Aatmaj

Excellent! ✨

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Thank you!

Collapse
 
alecbsherman profile image
Alec

Nice article!

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Thank you Alec, Have an amazing day!

Collapse
 
itsmnthn profile image
Manthankumar Satani

Learn new tag

Collapse
 
ayabouchiha profile image
Aya Bouchiha

Glad to hear that! 😁

Collapse
 
kalashin1 profile image
Kinanee Samson

var and mark are new to me.. Thanks for the heads up

Collapse
 
ayabouchiha profile image
Aya Bouchiha

You're always welcome !

Collapse
 
rel555 profile image
rel555

How are they in terms of security?

Collapse
 
tsadarsh profile image
Adarsh TS

Really insightful. Thank you for sharing.

Collapse
 
ayabouchiha profile image
Aya Bouchiha

My pleasure 😊

Collapse
 
fadihijazi98 profile image
Fadi Hijazi • Edited

var & noscript are new to me.
Thanks ..

Collapse
 
ayabouchiha profile image
Aya Bouchiha

It's my pleasure 😁