Similar to the syntax and tags that we used in the HTML section, CSS uses tags as well to change different elements on the web page.  In CSS these are called "Properties."  The Properties that you use will determine the modification that is made to the element specified.

We went over the different style sheets in the previous section, here is an example of each one:

Internal Style Sheet:

<head>
<style type="text/css">
h1 {color:blue;}
h2 {color:red;}
p {color:green;}
</style>
</head>

External Style Sheet:

<head>
<link rel="stylesheet" type="text/css" href="/help/style.css" />
</head>

Inline Styles:

<p style="color:red;font-size:18px">This is a paragraph!</p>

As you can see, the format of all three are similar but have a few key differences.  For an external style sheet, you would create a separate css file that one has the modifications that you want to apply to the pages.  Then all you have to do is within the head tag reference that .css file, and it will apply automatically to the page. 

For the Inline Styles, instead of using a <font>, CSS uses the style tag.  Then within the style tag, you can specify the size, color, and many more options.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}