&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

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer