1. Howdy! Welcome to our community of more than 125.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
    Dismiss Notice
  2. Add your web host to our brand new web hosting directory (beta).
    Dismiss Notice

What is HTML and XHTML

Discussion in 'Webdesign / HTML' started by scottlan, Jan 29, 2011.

Not open for further replies.
  1. worlditsme

    worlditsme New Member

    I've never seen HTML that looks like this before


    so why you would think it was written in binary code I have no idea.
  2. spitser

    spitser New Member

    HTML is a predominant markup language for web pages.HTML is the basic building blocks for web pages.

    Where as

    XHTML is a language in which web pages are written.

  3. HTML- HTML is the predominant mark up language for web pages. HTML creates structured documents by denoting structural semantics for text like headings, lists, links, quotes etc. It allows images and objects to be embedded to create interactive forms.

    XHTML- XHTML is a family of XML languages which extend or mirror versions of HTML. It does not allow omission of any tags or use of attribute minimization. XHTML requires that there be an end tag to every start tag and all nested tags must be closed in the right order.

    web hosting
  4. techsophia

    techsophia New Member


    Here is some basic difference between HTML and XHTML


    -Start tags are not required for every element.
    -End tags are not required for every element.
    -Only void elements such as br, img, and the link may be “self-closed” with />.
    -Tags and attributes are case-insensitive.
    -Attributes do not need to be quoted.
    -Some attributes may be empty (such as checked and disabled).
    -Special characters, or entities, do not have to be escaped.
    -The document must include an HTML5 DOCTYPE.


    -All elements must have a start tag.
    -Non-void elements with a start tag must have an end tag (p and li, for example).
    -Any element may be “self-closed” using />.
    -Tags and attributes are case sensitive, typically lowercase.
    -Attribute values must be enclosed in quotes.
    -Empty attributes are forbidden (checked must instead be checked="checked" or checked="true").
    -Special characters must be escaped using character entities.
    -XHTML documents must be well-formed

    Hope it helps you.
Not open for further replies.

Share This Page