Results 1 to 12 of 12

Thread: HTML1.0 HTML4.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User ivanivanovv's Avatar
    Join Date: Sep:2005
    Location: Sliven
    Posts: 481

    HTML1.0 HTML4.0

    l1.0 4 Lyer-. HTML4.0 java frames ... .
    html4.0
    i5-4440|HR-02 Macho|H97 Killer|4x4GB G.Skill|MSI 270|Adata SP920 |Enermax Modu 625|Logitech G502|QcK+|Dell U2715H|Cooler Master Elite 430+Noctua|
    -----------------------------------------
    , .

  2. #2
    Registered User Pa3KaTaH's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 3,851
    xHTML1 ?
    http://www.w3.org/TR/xhtml1/

    :
    Differences with HTML 4:

    This section is informative.

    Due to the fact that XHTML is an XML application, certain practices that were perfectly legal in SGML-based HTML 4 [HTML4] must be changed.
    4.1. Documents must be well-formed

    Well-formedness is a new concept introduced by [XML]. Essentially this means that all elements must either have closing tags or be written in a special form (as described below), and that all the elements must nest properly.

    Although overlapping is illegal in SGML, it is widely tolerated in existing browsers.

    CORRECT: nested elements.

    <p>here is an emphasized <em>paragraph</em>.</p>

    INCORRECT: overlapping elements

    <p>here is an emphasized <em>paragraph.</p></em>
    4.2. Element and attribute names must be in lower case

    XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags.
    4.3. For non-empty elements, end tags are required

    In SGML-based HTML 4 certain elements were permitted to omit the end tag; with the elements that followed implying closure. XML does not allow end tags to be omitted. All elements other than those declared in the DTD as EMPTY must have an end tag. Elements that are declared in the DTD as EMPTY can have an end tag or can use empty element shorthand (see Empty Elements).

    CORRECT: terminated elements

    <p>here is a paragraph.</p><p>here is another paragraph.</p>

    INCORRECT: unterminated elements

    <p>here is a paragraph.<p>here is another paragraph.
    4.4. Attribute values must always be quoted

    All attribute values must be quoted, even those which appear to be numeric.

    CORRECT: quoted attribute values

    <td rowspan="3">

    INCORRECT: unquoted attribute values

    <td rowspan=3>
    4.5. Attribute Minimization

    XML does not support attribute minimization. Attribute-value pairs must be written in full. Attribute names such as compact and checked cannot occur in elements without their value being specified.

    CORRECT: unminimized attributes

    <dl compact="compact">

    INCORRECT: minimized attributes

    <dl compact>
    4.6. Empty Elements

    Empty elements must either have an end tag or the start tag must end with />. For instance, <br/> or <hr></hr>. See HTML Compatibility Guidelines for information on ways to ensure this is backward compatible with HTML 4 user agents.

    CORRECT: terminated empty elements

    <br/><hr/>

    INCORRECT: unterminated empty elements

    <br><hr>
    4.7. White Space handling in attribute values

    When user agents process attributes, they do so according to Section 3.3.3 of [XML]:

    * Strip leading and trailing white space.
    * Map sequences of one or more white space characters (including line breaks) to a single inter-word space.

    4.8. Script and Style elements

    In XHTML, the script and style elements are declared as having #PCDATA content. As a result, < and & will be treated as the start of markup, and entities such as &lt; and &amp; will be recognized as entity references by the XML processor to < and & respectively. Wrapping the content of the script or style element within a CDATA marked section avoids the expansion of these entities.

    <script type="text/javascript">
    <![CDATA[
    ... unescaped script content ...
    ]]>
    </script>

    CDATA sections are recognized by the XML processor and appear as nodes in the Document Object Model, see Section 1.3 of the DOM Level 1 Recommendation [DOM].

    An alternative is to use external script and style documents.
    4.9. SGML exclusions

    SGML gives the writer of a DTD the ability to exclude specific elements from being contained within an element. Such prohibitions (called "exclusions") are not possible in XML.

    For example, the HTML 4 Strict DTD forbids the nesting of an 'a' element within another 'a' element to any descendant depth. It is not possible to spell out such prohibitions in XML. Even though these prohibitions cannot be defined in the DTD, certain elements should not be nested. A summary of such elements and the elements that should not be nested in them is found in the normative Element Prohibitions.
    4.10. The elements with 'id' and 'name' attributes

    HTML 4 defined the name attribute for the elements a, applet, form, frame, iframe, img, and map. HTML 4 also introduced the id attribute. Both of these attributes are designed to be used as fragment identifiers.

    In XML, fragment identifiers are of type ID, and there can only be a single attribute of type ID per element. Therefore, in XHTML 1.0 the id attribute is defined to be of type ID. In order to ensure that XHTML 1.0 documents are well-structured XML documents, XHTML 1.0 documents MUST use the id attribute when defining fragment identifiers on the elements listed above. See the HTML Compatibility Guidelines for information on ensuring such anchors are backward compatible when serving XHTML documents as media type text/html.

    Note that in XHTML 1.0, the name attribute of these elements is formally deprecated, and will be removed in a subsequent version of XHTML.
    4.11. Attributes with pre-defined value sets

    HTML 4 and XHTML both have some attributes that have pre-defined and limited sets of values (e.g. the type attribute of the input element). In SGML and XML, these are called enumerated attributes. Under HTML 4, the interpretation of these values was case-insensitive, so a value of TEXT was equivalent to a value of text. Under XML, the interpretation of these values is case-sensitive, and in XHTML 1 all of these values are defined in lower-case.
    4.12. Entity references as hex values

    SGML and XML both permit references to characters by using hexadecimal values. In SGML these references could be made using either &#Xnn; or &#xnn;. In XML documents, you must use the lower-case version (i.e. &#xnn

  3. #3
    Registered User ivanivanovv's Avatar
    Join Date: Sep:2005
    Location: Sliven
    Posts: 481

    ???

    3,250... . ( ) . . IE GooogleBot spiderrobots .... 4.0, . " The web page load time is 20 seconds." html1. html4.0. (x)html xml+html=xhtml
    !
    i5-4440|HR-02 Macho|H97 Killer|4x4GB G.Skill|MSI 270|Adata SP920 |Enermax Modu 625|Logitech G502|QcK+|Dell U2715H|Cooler Master Elite 430+Noctua|
    -----------------------------------------
    , .

  4. #4
    Registered User Pa3KaTaH's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 3,851
    Quote Originally Posted by ivanivanovv
    ... ...
    , Differences ( xhtml1 ) with HTML 4:
    html1 ?
    xhtml1 ?
    html4 97,
    http://www.w3.org/MarkUp/

    , CSS , , blank.gif- ..

    , ?

    - , titles, descriptions alt-.
    - , , WYSIWYG...

    - - .

    edit
    , XaMaB,
    ?
    Last edited by Pa3KaTaH; 3rd November 2005 at 18:46.

  5. #5
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    1.0
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  6. #6
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    , 100 . -.
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  7. #7
    Registered User zimbabve's Avatar
    Join Date: Jun:2004
    Location: Somwherevil
    Posts: 119
    / HTML 4 XHTML 1 , , , .
    , . , . ( " ", , , .. "" , blank.gif-a, - .). layer- (.. div-ve) , ( ) , .. ( , "").
    , 100% . meta , . GooGle FTI contenta, , ,

    --- -----
    //
    , .
    (((
    , , , meta-i object - "". 747 20 ?! !!!
    2-3 .
    cheers *.*
    Last edited by zimbabve; 8th November 2005 at 03:20.
    hurt. the necessary feeling.

  8. #8
    Registered User Pa3KaTaH's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 3,851
    uw_cse05_google_250k.asf

    zimbabve,
    ,
    ?
    , ,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |