W3C home > Mailing lists > Public > www-html@w3.org > June 1998

Q about the standard

From: Henrik Lynggaard Hansen <heha97ad@student.econ.cbs.dk>
Date: Sat, 20 Jun 1998 19:37:53 +0200
Message-ID: <358BF371.24A3153E@student.econ.cbs.dk>
To: www-html@w3.org
hi

for a school project im going to write a (miniature) HTML validator, but
i have a couple of questions regarding the html standard

* is this legal: <u>underlined <b>bold & underlined</u>just bold</b>  or
should it be written as :

                   <u>underlined<b>bold &underlined</b></u><b>just
bold</b>    ????


* in the 4.0 specs under block element it is writtten:

The following elements may be used as either block-level elements or
inline elements. If used as inline elements (e.g., within another inline
element or a
        P), these elements should not contain any block-level elements.

            APPLET - Java applet
            BUTTON - Button
            DEL - Deleted text
            IFRAME - Inline frame
            INS - Inserted text
            MAP - Image map
            OBJECT - Object
            SCRIPT - Client-side script


but how do i determine wether it is used as blocklevel or inline
elements ???


* The DOCTYPE element contains a link to a DTD. what is a DTD and how is
it used ??


cheers from denmark
Henrik Lynggaard



Received on Saturday, 20 June 1998 13:41:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT