Blog

wbr tag in HTML5

By Mahak Gupta Mar 31 2012
wbr tag is used in word-break situations. Here we look at the example of wbr tag
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 3.2k
  • 0
<!DOCTYPE html>
<html>
<body>
<p>
If we want to returns a reference to the element by its ID, We use get<wbr>Element</wbr>ById
</p>
</body>
</html>


Output:

If we want to returns a reference to the element by its ID, We use getElementById