编辑下面的代码:【加编码】
<html> <head> <style> .center { text-align:center; } </style> </head> <body> <h1 class="center">Center-aligned heading</h1> <p class="center">Center-aligned paragraph.</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂