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=
相關文章
相關標籤/搜索