&amp Symbol In Html Code Example


Example: . 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>

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?