84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> h2{color:red; </style> </head> <body> <h3>hello world</h3> </body> </html>
越努力越幸运!!!
When writing the style, the following } is not written. Why is there no effect? -PHP Chinese website Q&A-When writing styles, the following } is not written, why does it have no effect? -PHP Chinese website Q&A
Please watch and learn.
属性(property)是您希望设置的样式属性(style attribute)。每个属性有一个值。属性和值被冒号分开。要使用花括号来包围声明。你这个是格式错误,所以代码不会有效果显示。
html毕竟不是语言,没有那么严谨,所以有些代码错了也不会给你报错,有的只会没有效果,但有的会有效果的,主要还是自己细心
When writing the style, the following } is not written. Why is there no effect? -PHP Chinese website Q&A-When writing styles, the following } is not written, why does it have no effect? -PHP Chinese website Q&A
Please watch and learn.
属性(property)是您希望设置的样式属性(style attribute)。每个属性有一个值。属性和值被冒号分开。要使用花括号来包围声明。你这个是格式错误,所以代码不会有效果显示。
html毕竟不是语言,没有那么严谨,所以有些代码错了也不会给你报错,有的只会没有效果,但有的会有效果的,主要还是自己细心