<!DOCTYPE HTML> <HTML> <head> <meta charset="utf-8"> <title>代码练习4</title> <style type="text/css"> p {font-size:16px font-weight:bold color:yellow } </style> </head> <body> <h1>标题</h1> <p id="a">代码练习。</p> </body> </html>
Why does the CSS setting have no effect? ? -PHP Chinese website Q&A-Why does the CSS setting have no effect? ? -PHP Chinese website Q&A
Please watch and learn.
<style type="text/css"> p{font-size:16px font-weight:bold color:yellow } </style>
注意每次写完要加上分号
<style type="text/css"> p{ font-size:16px; font-weight:bold; color:yellow; } </style
Why does the CSS setting have no effect? ? -PHP Chinese website Q&A-Why does the CSS setting have no effect? ? -PHP Chinese website Q&A
Please watch and learn.
注意每次写完要加上分号