Is HTML platform independent ?

Posted on 2005-05-16
Medium Priority
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

GoofyDawg earned 150 total points
ID: 14016476
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

ID: 14016836
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

ID: 14018204
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

ID: 14024265
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).

Expert Comment

ID: 14024592
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Suggested Courses

839 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