1.

Solve : embed css help?

Answer»

No. and are not HTML tags. CSS can only style HTML elements.

Here's what you can do.
Code: [Select]<html>
<head>
  <style type="text/css">
    p#paragraph1 {
      font-size:14px;
      font-family:TIMES NEW roman;
    }
    p#paragraph2 {
      font-size:20px;
      font-family:times new roman;
    }
  </style>
</head>

<body>
  <p id="paragraph1">Some text</p>
  <p id="paragraph2">Some more text</p>
</body>
</html>

In the CSS, p#paragraph1 sets the style for the

HTML element with an id of "paragraph1". You can do this for all HTML elements.what I ment was  the P1   and  P2   tags in the  style code in the  Head Tags   gave  name to  my two  diferant  paragraphs.

And as long as I use the  P1   and  P2   it will know what one get the diferant  font  size and so on  because it is told in the Head Tags??Anybody order a Noose? Quote

And as long as I use the  P1   and  P2   it will know what one get the diferant  font  size and so on  because it is told in the Head Tags??
NO.

Quote
<p1> and <p2> are not HTML tags.
I am talking about  css   not htmle
So.....what does CSS do? Styles HTML elements. If the HTML element does not exist, how can CSS style it?

http://www.w3schools.com/css/ - READ IT from start to finish.I can't read the web pages on the site you just gave me   and I sould have told you this before.
They come up  and  are  moviing very Gerky  and it does not WORK  well.
Do you have onother web site for this  css  but one that is very very  step by step  of the way?http://www.cssbasics.com/are this chapters on the side???

I clicked on the video but you have to payhttp://www.cssbasics.com/introduction-to-css/ - On the RIGHT. When you're finished, go to chapter 2.thanks I see them



Discussion

No Comment Found