DEV Community

loading...

Discussion on: What is the <wbr> HTML tag and why do I need it?

Collapse
thinkverse profile image
Kim Hallberg

Love it when I find out about HTML tags I didn't know existed before. 😍

Collapse
dailydevtips1 profile image
Chris Bongers Author

There are sooo many, every now and then I'm like oh wait, that's a cool one I didn't know!
It's also a question of how often you need these, in this case, it's very specific and I need it for a header with a super long word.

What kind of cool ones have you discovered already?

Collapse
thinkverse profile image
Kim Hallberg

This is not a tag but, I did find out about the multiple attribute for <input type="email" /> recently on Twitter.

Allowing you to add multiple emails separated by commas. Only seen that on type="file" before.

Thread Thread
dailydevtips1 profile image
Chris Bongers Author

Oh, that's also new to me! Going to check that one out, thanks Kim!
Also on the topic of I've just learned that &shy; also works and is more recommended these days.
quirksmode.org/oddsandends/wbr.html