E-mail List Archives
Re: How would you mark up this information?
From: Don Hinshaw
Date: Apr 23, 2005 10:28AM
- Next message: Thomas McCarthy: "Can I nest mouse over images with hot spots?"
- Previous message: Jens Meiert: "Re: How would you mark up this information?"
- Next message in Thread: Webmaster: "Re: How would you mark up this information?"
- Previous message in Thread: Jens Meiert: "Re: How would you mark up this information?"
- View all messages in this Thread
Thanks for all the great advice!
Jukka K. Korpela wrote:
> The choice between
> <h2>...</h2>
> <p>...</p>
> and
> <h2>...</h2>
> <div>...</div>
> depends on whether you regard the contact information as a paragraph of
> text or not. I wouldn't. There's not much practical difference in
> rendering, since the headings would act as dividing the content into parts
> anyway. Moreover, in styling, you would need to worry about the margins
> (and font size) of <h2> elements only, since <div> elements (unlike <p>)
> have no default margins. Setting, say
>
> h2 { font-size: 100%; margin: 1em 0 0 0; }
>
> could be enough.
>
>
>
--
Don Hinshaw
Hinshaw Design Group
http://www.hinshawdesign.com
- Next message: Thomas McCarthy: "Can I nest mouse over images with hot spots?"
- Previous message: Jens Meiert: "Re: How would you mark up this information?"
- Next message in Thread: Webmaster: "Re: How would you mark up this information?"
- Previous message in Thread: Jens Meiert: "Re: How would you mark up this information?"
- View all messages in this Thread