Color of website title

How can I make color, font and size for website title in HTML, I used “color”,“size” code but it seems to be rejected.

Welcome to the forums, @sebastianle284.

By “title”, do you mean a heading? e.g.

<h1>My page title</h1>

You simply apply CSS rules to it.


h1 {color: #0000FF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em; 

The old HTML attributes are outdated and should not be used. See


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.