WD 11. HTMLEntities
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Entities</title>
</head>
<body>
<div class="container">
<p>This is a paragraph</p>
</div>
<div class="container">
<p>This is another paragraph with two spaces</p>
<p>Paragraph is written like this <p></p>
<p>Pound is written like this £</p>
<p>Copyright is written like this ©</p>
<p>Another character is ⇛</p>
<p>Another character is ¼</p>
<p>Empty character is written like this ​</p>
</div>
</body>
</html>
<!-- is use to give space,and 2 = 2space -->
<!-- HTML Entities are < and > it represent < and > respectively. -->
#Output:
Comments
Post a Comment