FreeCodeCamp学习记录

Html中修改文字元素的方式:css <h1 style="color=red"> hello world </h1> 另一种方式,使用元素选择器html <style> 选择器 {属性名称: 属性值;} h2 {color: red;} </style> 还有一种方式是使用类选择器web <style> .blue-text{ color: blue; } </style> <h2 class=
相关文章
相关标签/搜索