0
why does output not reflect right alignment as required,please.
<!DOCTYPE.html> <html> <head> <style> .center { text-align: center; color: red; } </style> </head> <body> <h2 class="right">kpkalia</p> <p class="right">JBBPJI</p> <p class="center"> Always....always....</p> </body> </html>
1 Réponse
+ 3
You only have CSS rule defined for class 'center', there is no definition for class 'right'