wbr tag

Advertisements

Prev Tutorial Next Tutorial

<wbr> tag

Html <wbr> is used to specify a line break within an HTML document only if it is necessary other wise no line break.

Without <wbr> tag it is very difficult to read a long text of line, some time you need to scroll right to read more. Whenever <wbr> tag is used auto break the line when contents overlap the Html document area.

Difference between <wbr> tag and <br> tag

<wbr> is used to specify a line break within an HTML document only if it is necessary other wise no line break. but <br> tag force to line break.

Example

<!DOCTYPE>
<html>
<body>
<h3>Html</h3>
<p>Html is very simple to <wbr> use and it is also easy to learn. Tim Berners-Lee is known as father of Html.</p>
<p>Html (Hyper Text Markup Language) mainly use for design a client side web pages,  <wbr> this is a static page it means you can only view Html page not give request and not get response from server using html page.</p>
</body>
</html>

Result

Html

Html is very simple to use and it is also easy to learn. Tim Berners-Lee is known as father of Html.

Html (Hyper Text Markup Language) mainly use for design a client side web pages, this is a static page it means you can only view Html page not give request and not get response from server using html page.


The <wbr> tag supports global and event attributes in HTML 5.


Browser supported

Element
<wbr>YesYesYesYesYes

Prev Tutorial Next Tutorial

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements