This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > ? on "proper" formatting of includes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ? on "proper" formatting of includes
tekknow

2004-08-07, 7:15 pm

Regarding includes, can someone remind me of acceptable formatting
standards? I know it's possible to leave the <html> and <body> tags in the
included documents, which allows for quicker, easier editing of those
include at a later time. However, since those tags also show up in thefinal
HTML doc, this is obviously substandard, but is it necessarily wrong?

Any advice on the best way to handle working with includes, and what is the
second best way that is still acceptable?

Thanks!


Michael Fesser

2004-08-07, 7:15 pm

.oO(tekknow)

>Regarding includes, can someone remind me of acceptable formatting
>standards? I know it's possible to leave the <html> and <body> tags in the
>included documents, which allows for quicker, easier editing of those
>include at a later time. However, since those tags also show up in thefinal
>HTML doc, this is obviously substandard, but is it necessarily wrong?


Yes. A HTML document has exactly _one_ html-element and zero or one
explicit body-element (<head>- and <body>-tags are optional in HTML 4).

Micha
tekknow

2004-08-11, 4:16 am

Yes, tekknow. Doesn't mean I know everything (or much of anything, for that
matter). I do know the standard is a single tag, but I'm looking for a way
to edit the included file with HTML and BODY tags so I can see what I'm
doing, then have the final document hide the duplicate tags. Any suggestions
on that?


"Michael Fesser" <netizen@gmx.net> wrote in message
news:olmah0lef9ghqd3qat220lhateevtvdtmr@4ax.com...
> .oO(tekknow)
>
the[color=darkred]
thefinal[color=darkred]
>
> Yes. A HTML document has exactly _one_ html-element and zero or one
> explicit body-element (<head>- and <body>-tags are optional in HTML 4).
>
> Micha
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews