search

Home  >  Q&A  >  body text

How to write the font color and size?

In the tutorial, the teacher talked about how to express line attributes. I would like to ask how to express font attributes?

移动用户-6178198移动用户-61781982114 days ago1299

reply all(3)I'll reply

  • 高半仙

    高半仙2019-04-15 11:15:33

    #div{

    color:#000; /* Font color*/

    font-size:12px; /* Font size*/

    }


    reply
    0
  • 移动用户-6178198

    Thank you for your answer! I only learned HTML now. You should use CSS to implement it here, right? Is it not possible to define the font color and size using HTML?

    移动用户-6178198 · 2019-04-17 20:41:07
  • Cancelreply