<!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
wbr tag is used in word-break situations. Here we look at the example of wbr tag
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · HTML 5HTML5 For BeginnersDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.