(PCC)::[How-to-use-HTML-with-CSS-using-the-class-attribute]::[html]
<!DOCTYPE html> <html> <head> <style> p.error { color: red; } </style> </head> <body> <p>This is a paragraph.</p> <p>This is a paragraph.</p> <p class="error">I am different.</p> <p>This is a paragraph.</p> <p class="error">I am different too.</p> </body> </html>
This is a paragraph.
This is a paragraph.
I am different.
This is a paragraph.
I am different too.