HTML entities

 HTML entities 

 used when we want some special character like any symbol that are not present in our normal keyboard.




<!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>HTML Entities</title>
</head>
<body>
    <!-- there is different types of the entites are present 
    and we can choose them by the & symbol 
Some special characters are not present in the keyboard so too 
access it or to print we use the entities .-->
    <div class="container">
        <p>This is the &nbsp; Entities</p>
    </div>
    <div class="container">
        <p>This is the  Entities &lt;p&gt;</p>
        <p>This is the  Entities &pound;</p>
        <p>This is the  Entities &sc;</p>
        <p>This is the  Entities &larr;;</p>
        <p>This is the  Entities &map;</p>
    </div>
    

</body>
</html>


Post a Comment

Previous Post Next Post