PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|RFC|rfc1866.txt =

page 10 of 44





3.3. HTML Public Text Identifiers

   To identify information as an HTML document conforming to this
   specification, each document must start with one of the following
   document type declarations.

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

   This document type declaration refers to the HTML DTD in 9.1, "HTML
   DTD".

      NOTE - If the body of a `text/html' message entity does not begin
      with a document type declaration, an HTML user agent should infer
      the above document type declaration.

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN">

   This document type declaration also refers to the HTML DTD which
   appears in 9.1, "HTML DTD".

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN">

   This document type declaration refers to the level 1 HTML DTD in 9.3,
   "Level 1 HTML DTD". Form elements must not occur in level 1
   documents.

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN">
   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN">

   These two document type declarations refer to the HTML DTD in 9.2,
   "Strict HTML DTD" and 9.4, "Strict Level 1 HTML DTD". They refer to
   the more structurally rigid definition of HTML.

   HTML user agents may support other document types. In particular,
   they may support other formal public identifiers, or other document
   types altogether. They may support an internal declaration subset
   with supplemental entity, element, and other markup declarations.

3.4. Example HTML Document

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    
    <!-- Here's a good place to put a comment. -->
    
    Structural Example
    
    First Header
    This is a paragraph in the example HTML file. Keep in mind




 
RFC 1866            Hypertext Markup Language - 2.0        November 1995


    that the title does not appear in the document text, but that
    the header (defined by H1) does.
    
    First item in an ordered list.
    Second item in an ordered list.
      
       Note that lists can be nested;
       Whitespace may be used to assist in reading the
           HTML source.
      
    Third item in an ordered list.
    
    This is an additional paragraph. Technically, end tags are
    not required for paragraphs, although they are allowed. You can
    include character highlighting in a paragraph. This sentence
    of the paragraph is emphasized. Note that the </P>
    end tag has been omitted.
    
    <IMG SRC ="triangle.xbm" alt="Warning: ">
    Be sure to read these bold instructions.
    

4. HTML as an Internet Media Type

   An HTML user agent allows users to interact with resources which have
   HTML representations. At a minimum, it must allow users to examine
   and navigate the content of HTML level 1 documents. HTML user agents
   should be able to preserve all formatting distinctions represented in
   an HTML document, and be able to simultaneously present resources
   referred to by IMG elements (they may ignore some formatting
   distinctions or IMG resources at the request of the user). Level 2
   HTML user agents should support form entry and submission.

4.1. text/html media type

   This specification defines the Internet Media Type [IMEDIA] (formerly
   referred to as the Content Type [MIME]) called `text/html'. The
   following is to be registered with [IANA].

    Media Type name
            text

=10=

1.4|5|6|7|8|9| < PREV = PAGE 10 = NEXT > |11|12|13|14|15|16.44

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.013212 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)