Re: Page setup order

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 09:30:36 -0800

the page directives are read by asp.net and are not included in the output
html. the <doctype statement is html and only used by the browser

-- bruce (sqlwork.com)

23vi8wOoHFHA.2132@TK2MSFTNGP14.phx.gbl...
| Does it matter whether Doctype is after the Page line? At the moment, I
| have my pages as so:
|
| <%@ Page Language="VB" trace="false" debug="true" AutoEventWireup="true"
| ContentType="text/html" ResponseEncoding="iso-8859-1" %>
| <%@ Register TagPrefix="fts" TAgName="header"
| src="..\includes\defaultHeaders.ascx" %>
| <%@ Register TagPrefix="fts" TAgName="footer"
| src="..\includes\defaultFooters.ascx" %>
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
|
| I wanted to find out if this is the correct order or does it matter?
|
| Tom
|
|



Relevant Pages

  • Re: Adding custom attributes through XMLSchema
    ... > You cannot know which attributes are unknown to browsers. ... no matter how harmless it might seem - even ... > description of actual browser behavior in the world of tag soup HTML ...
    (comp.infosystems.www.authoring.html)
  • Re: Page setup order
    ... the <doctype statement is html and only used by the browser ... So it doesn't matter what order they are in? ... > | Tom ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: cgi
    ... Hakim wrote: ... The browser does not see your code - ... only the HTML your code generates. ... matter if i change it or not, it sitt dies in same place ...
    (perl.beginners)
  • Re: What is ASP
    ... > No, the client doesn't matter, ASP.Net generates html / javascript that ... > should run on any browser and any computer ...
    (borland.public.delphi.non-technical)
  • Graphics in Word Web Pages
    ... On a MAC, when I display a Word-generated file and saved as HTML, the ... It doesn't matter what browser is being used - the ... graphics are absent from all of them. ...
    (microsoft.public.word.drawing.graphics)