symbols in html code example
Example 1: html symbols
<p>I will display €</p>
<p>I will display €</p>
<p>I will display €</p>
Example 2: . and # in html
<!DOCTYPE html>
<html>
<head>
<style>
.classname {
background-color: green;
color: white;
}
#idname {
background-color: pink;
color: white;
}
</style>
</head>
<body>
<div class="classname">I am green colour<div>
<div id="idname">I am pink colour</div>
</body>
</html>