Computer Science, asked by sayyedaroub1234, 11 months ago

how do you change the font colour of your text in HTML​

Answers

Answered by carsonjblakely
13

The way to change the color of your text is by using CSS. The old HTML <font> attribute is not supported in HTML5. The preferred method is to use CSS to define the style of your elements.

Answered by gayatrikumari99sl
3

Answer:

HTML:

  • The preferred markup language for documents intended to be viewed in a web browser is HTML, or HyperText Markup Language.
  • Technologies like Cascading Style Sheets and scripting languages like JavaScript can help.

To change the font colour of  text in HTML​

  • Use the style attribute in HTML to change the font colour.
  • An element's inline style is specified through the style property.
  • The CSS property colour and the attribute are both used with the HTML <p> tag.

#SPJ2

Similar questions