HTML CLASSES
Using The class Attribute: is used to define equal styles for elements with the same class name. all HTML elements with the same class attribute will get the same style. <!DOCTYPE html> <html> <head> <style> .cities { background-color: red; color: white; margin: 20px; padding: 20px; } </style> </head> <body> <div class="fruits">…