What is the difference between XML and HTML?-VBForums
Results 1 to 10 of 10

Thread: What is the difference between XML and HTML?

  1. #1

    Thread Starter
    Banned
    Join Date
    Apr 2016
    Location
    Delhi
    Posts
    4

    What is the difference between XML and HTML?

    Hello friends i want to know What is the difference between XML and HTML?

  2. #2
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: What is the difference between XML and HTML?

    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  3. #3
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,171

    Re: What is the difference between XML and HTML?

    Similarities: XML and HTML are both markup languages.

    Differences: XML has much stricter rules than HTML. XML is also considered a regular language which would make it simple to parse using RegEx.

  4. #4

    Re: What is the difference between XML and HTML?

    Hi rajkumar'

    There is a huge difference between Sitemap.html and Sitemap.xml. Sitemap is basically created for human and not for the search. Sitemap are very important for your SEO .Sitemap.xml creates for Search engine spiders. It contain only links of your webpage.

  5. #5
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,381

    Re: What is the difference between XML and HTML?

    Hello friends i want to know What is the difference between XML and HTML?
    Simply;

    HTML is a markup language used to describe and create web pages, normally in conjunction with CSS and JavaScript.

    XML is a markup language used to describe data and create data structures which are then often used in web pages to help populate them with said data.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    CT
    Posts
    17,498

    Re: What is the difference between XML and HTML?

    Quote Originally Posted by NeedSomeAnswers View Post
    XML is a markup language used to describe data and create data structures which are then often used in web pages to help populate them with said data.
    Until we all realized that JSON was much easier to deal with compared to XML!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,381

    Re: What is the difference between XML and HTML?

    Until we all realized that JSON was much easier to deal with compared to XML!
    True, but they didn't ask what is Json?
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  8. #8

    Re: What is the difference between XML and HTML?

    XML was designed to carry the data - focus to what data is, and HTML was designed to display data - focus on how data looks.

  9. #9
    Registered User
    Join Date
    Sep 2015
    Posts
    4

    Re: What is the difference between XML and HTML?

    HTML would define the format and layout (with the use of CSS) of what you want to 'layout' and XML would carry the content or 'Data' that you would use within the HTML.

  10. #10

    Re: What is the difference between XML and HTML?

    HTML stands for Hyper Text Markup Language which mainly describes the structure of web pages using markup i.e., creating web pages for your Website. These are mostly considered as building blocks of HTML pages.

    HTML elements are represented in tags and contain contents such as "heading", "paragraph", "table", etc…

    XML stands for eXtensible Markup Language which is designed to store and transport data.

    Finally the difference between XML and HTML is:

    XML was designed to carry data - with focus on what data is to be(Storage) .
    HTML was designed to display data - with focus on how data looks(creation).
    XML tags are not predefined like in HTML tags.
    Last edited by si_the_geek; Nov 10th, 2017 at 09:28 AM. Reason: removed link

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.