HTML entities (space and &greater than)

 1)   is used to give white space


<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>

<body>
<h1 align> Sachin Tendulkar</h1>
<p> sachin &nbsp; &nbsp; is one of the greatest batsman of all time .</p>
</body>

</html>


2) &gt; is used to give > symbol


<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>

<body>
<h1 align> Sachin Tendulkar</h1>
<p> sachin &nbsp; &gt; is one of the greatest batsman of all time .</p>
</body>

</html>

Comments