Re: Does Tag Order Make a Difference
by "Matthew Ohlman" <matthew(at)ohlman.com>
|
Date: |
Sat, 9 Nov 2002 21:30:53 -0600 |
To: |
"Dave Burlingame" <drbexe(at)tampabay.rr.com> |
Cc: |
"HWG Basics" <HWG-Basics(at)hwg.org> |
References: |
drbexe |
|
todo: View
Thread,
Original
|
|
Hi Dave. I don't think that the order in which the tags are placed makes a
difference.
However, If you are coding in XHTML, it won't validate correctly unless the
tags are nested correctly. E.G.
<.b><.i><.u>This Text<./u><./i><./b>
(Excluding the dots).
In otherwords, the tags have to be closed in the order they were started.
Other than that, I don't believe the tag order makes any difference at all.
Matthew
--
Matthew Ohlman
http://www.ohlman.com/
Professional, Affordable web pages
Reply to: matthew(at)ohlman.com
Business: ohlman(at)ohlman.com
"There's a difference between Philosophy and a bumper sticker"
Charles Schultz
----- Original Message -----
From: "Dave Burlingame" <drbexe(at)tampabay.rr.com>
To: <hwg-basics(at)hwg.org>
Sent: Saturday, November 09, 2002 8:34 PM
Subject: Does Tag Order Make a Difference
> Hi.
>
> Does anyone know if the order in which tags are used makes a difference?
>
> I know they have to be closed in the order in which they are opened, but
> does it matter which one is first?
>
> A simple example is "bold" and "underline"....
>
> A different example (and one that's on a page I inherited) is the "bold"
and
> the "a href" tag.
>
> My natural instinct would be to have the "a href" tag first, then the
"bold"
> tag. But this page is set up with the "bold" tag first.
>
> Does that make a difference?
>
> Dave Burlingame
> http://www.drbexe.com/
>
>
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA