Jump to content

Recommended Posts

Posted

it doesn’t seem to let me do the fonts or the text color, it only allows the align

im really young so I’m not sure what my problem is, how do I allow multiple changes to the heading

95B96BD3-D674-4425-9359-CFE156A4CE56.jpeg

Posted

It would be preferable to use a CSS stylesheet, but the answer to your question is to put all of the rules into the same style attribute, separated by semi-colon.

<h1 style="font-family:verdana; color:white; text-align: center">

 

Posted (edited)

You can also write external css of your <h1> tag.

HTML:

<h1>

CSS

h1

{

  font-famliy:verdana;

  color:white;

  text-align:center;

}

 

Edited by Sherin

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...