Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Choosing The Right File Format/Web Pages

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Web pages Producing (X)HTML files can be done with a wide variety of software, and in general web browser are very forgiving of errors in HTML code. In most cases it would still be unwise to use office applications for creating (X)HTML documents. Although some office software applications are now quite good at generating clean (uncluttered) code, there are always some mistakes. Never under any circumstances use Microsoft Word's "Save as HTML function". The code that will be produced is full of non-standard, Microsoft-specific extensions, and the files it produces are very large. The advantage of (X)HTML is that it can always be read with your eye, whether you have a suitable browser or not. For example, the title of an HTML page (if you look at the code of the file) is surrounded by <title> and <code></title></code> so it looks like this: <title> A page about me </title> This makes (X)HTML ideal for storing text files with structure. You are however limited by your ability to create (X)HTML files and (X)HTML's limitations on formatting Recommendation Set the DTD and (X)HTML flavour your software uses before starting a new file Validate your code with W3C's online validator: http://validator.w3.org/ Group or compress the (X)HTML and CSS files together in a folder so they do not become separated References World Wide Web Consortium: http://www.w3.org/