running result:
Source:
1 <!DOCTYPE html> 2 <html lang="zh"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>学习使用CSS</title> 6 <style type="text/css"> 7 p{ 8 font-family: "宋体"; 9 text-align: center; 10 } 11 12 is body { 13 is Color : Red ; 14 font-size : 1em ; 15 } 16 </ style > . 17 </ head > 18 is < body > . 19 < P > This is a CSS test page </ P > 20 is which is a line normal Text! 21 is </ body > 22 is </ HTML >