<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <style type="text/css"> /* 瀏覽器使用斜體的字體樣式顯示,如果字體沒有斜體,那么正常顯示字體 */ .p1 { font-style: italic; } /* 瀏覽器會讓文字傾斜顯示 */ .p2 { font-style: oblique; } .p3 { font-style: normal; } </style> </head> <body> <p class="p1">這是個段落標簽1</p> <p class="p2">這是個段落標簽2</p> <p class="p3">這是個段落標簽3</p> </body> </html>
