<style> .p1 { text-align: center; } .p2 { text-indent: 100px; } .p3 { text-decoration: line-through; } .p4 { text-decoration:overline; } .p5{ text-decoration:underline; } </style> </head> <body> <p class="p1">文本样式居中text-align:center;</p> <p class="p2">文本样式缩进text-indent:100px;</p> <p class="p3">文本样式装饰删除线text-decoration:line-through;</p> <p class="p4">文本样式上划线text-decoration:overline;</p> <p class="p5">文本样式下划线text-decoration:underline;</p> </body> </html>