html样式都有哪些

 时间:2024-10-14 04:22:05

1、background-color即背景色,当我们设置成red,如图<body style="background-color:red">背景this is background</body>

html样式都有哪些

3、换成段落p呢?<p style="background-color:green">段落This is a paragraph.</p>

html样式都有哪些

5、font-family字体,h1的字体为宋体,如图<h1 style="font-family:'宋体'">heading h1</h1>

html样式都有哪些

7、设置文本居中,以h1为例,效果如下<h1 style="text-align:center">heading h1</h1>

html样式都有哪些
  • 手机群发短信怎么发
  • 黄瓜拌醋泡鸡爪的做法?
  • 山药黄豆大米粥制作的步骤
  • 宝宝带尿不湿大腿有勒痕怎么办?
  • 老年人记性不好怎么办?
  • 热门搜索
    我要记住你的样子什么歌 包容是什么意思 上升星座代表什么 处日念什么 喝咖啡有什么好处 高铁和动车有什么区别 轶事是什么意思 什么是青春 4月22日是什么星座 属猪和什么属相最配