<!DOCTYPE html> <html> <head> <style> .style { text-align: center; color: blue; } </style> </head> <body> <h1 class="style">This Text is blue and center-aligned.</h1> <p class="style">This paragraph is also blue and center-aligned.</p> </body> </html>