CSS/HTML

  • Thread starter Thread starter Bill Gee
  • Start date Start date
B

Bill Gee

I'm grappling with CSS. What is the normal tag and why
is it unavailable To MODIFY.
What is the body tag for?
Why do I see span in my HTML? What is it?
 
Responses interspersed...
-----Original Message-----
I'm grappling with CSS. What is the normal tag and why
is it unavailable To MODIFY.

Do you mean the selector for normal text? If so,
it's "body". In some browsers, however, other tags such as
td and th don't inherit from body, so you have to specify
those as well, as in
body {font-family: Arial, sans-serif;}
td {font-family: Arial, sans-serif;}
th {font-family: Arial, sans-serif;}
or
body, td, th {font-family: Arial, sans-serif;}
What is the body tag for?

It marks the viewable portion of the Web page.
Why do I see span in my HTML? What is it?

Span is a tag that marks a block of content. For example,
in this code:

<p>I was a <span style="color:red;">red</span> fire
truck.</p>

only the word red would appear in red.

<div> and </div> tags work very much the same, except that
they create a line break before <div> and after </div>.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top