Is HTML platform independent ?

Posted on 2005-05-16
Last Modified: 2006-11-18
can i create a .html file in vi edior of UNIX and run it in MS Windows using IE.

Question by:soodrajni123
    LVL 12

    Accepted Solution

    Yes. I work with vi all the time on HTML files. But here we're talking straight HTML. When you start incorporating CSS and JavaScript, it's a bit different of a story as browsers may behave differently, depending up on what you're doing, and you have to be a lot more careful about cross-browser issues.

    LVL 19

    Expert Comment

    In theory, HTML, CSS and JavaScript are all platform independant.  All have cross-platform browser issues but HTML has the least.  Whether your editor outputs no lines, lines with CR, lines with LF or lines with CR+LF officially doesn't matter. :)
    LVL 30

    Expert Comment

    html is plain text, so it will be cross platform as long as your platforms support plain text files (and that's usually the case).
    the cross-browser support is a completely different issue.
    LVL 14

    Expert Comment

    As stated above, the problem with web technologies is not the physical file itself (the text file) but the way the different browsers render it.
    Given the format is plain text, you could even code from your cellphone if you have a way to upload to a computer (including direct access to store files in your server).
    LVL 1

    Expert Comment

    yes HTML is platform independent if you use Netescape Foundation Classes(NFC). the view of Microsoft Foundation Classes is different at different browser.

    So if you write one HTML code then it might be possible that same will not work at other browser. One very common example is with layerin HTML

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now