Nobr Tag in HTML || HTML Nobr Tag
×

HTML NOBR <nobr> Tag

2909

The HTML NOBR <nobr> tag is applied on text to not break a single line into multiple lines for users to scroll down to see the whole content. This element must be used in HTML.

When text goes outside the screen, the browser will immediately break the text to the next line. If we use the <nobr> tag then it will not permit the browser to break the line.

The <nobr> tag is a non-standard element. It works in some browsers but its use is discouraged and can be removed at any time.

Use the CSS white-space property instead.

Program:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>nobr Tag </title>
</head>
<body>
  <h2>Nobr Tag Example</h2>
<nobr>
Codingtag is the E-learning website covering all aspects of technical and nontechnical tutorials including advanced programming, web Development languages, current affairs and Technical interviews question and Answers on C, C++, Python, PHP, CSS, AngularJS, MongoDB and on all latest trending technologies.
</nobr>
</body>
</html>

Output:




Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments