Jump to content

Recommended Posts

Posted

Hi everyone, I am new, and I am trying to use the span-tag in my pages (for instance the class="makeBold">... ),

but it would not appear in the actual html-page.

I thought it might be my doc but when I change any text in the index.html, it changes the text in the browser, too.

Any ideas on this? thanks

Posted

Do you have 'makeBold" defined in your CSS? It'll only make your test bold it you put:

 

.makeBold {font-weight: bold;}

 

into your stylesheet.

 

And in general, unless it's for a one-time styling event, inline styles should be avoided - use the external stylesheet.

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...