Fighting with CSS questions – a way from newbie to master CSS

May 8, 2007

10 amazing or confusing things newbies may not know about CSS

Filed under: --- Level: 2, ♥ List of CSS Questions, CSS in my eyes — cssquestions @ 6:05 pm
  1. div and span are also called tag like every Other-Tags (such as p, h1, h2, b, i, u, br, strong, etc., )
  2. each tag has its own function (ex: p-tag to make paragraph, h1-tag to make a “biggest” header, b-tag to make text bold, br-tag to make a line break, etc.,). But div-tag and span-tag may be the exceptions 😉 .
  3. you can change the function of every tag by applying CSS to it (ex: force the i-tag to make text bold against its own default function making text italic, etc.,) . [how?]
  4. you can force the div-tag and span-tag do the function of every tag you want by using CSS (ex: use span-tag to make text bold, etc.,) [how?]
  5. browsers ignore the CSS elements if it cannot detect which tag CSS apply to. [how? & why we need to use id & class to name the tag?]
  6. div-tag is box and follow the rule of “box model”. [how?]
  7. div-tag is usually used for making layout. [why?]
  8. span-tag to markup text.[when?]
  9. Default tag functions are different in different browsers. [how?]
  10. CSS may works in different ways in different browsers. [when?]

Note: the questions in square-blankets is for u :), but maybe it’s hard for u to answer this time.

1 Comment »

  1. So I’ll answer each one a time

    Comment by Trang do — May 9, 2007 @ 4:33 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: