What apps export to "flat HTML"?

Discussion in 'Web Design and Development' started by loft3, Oct 20, 2012.

  1. loft3 macrumors regular

    Feb 24, 2006
    A company wants a document I am writing as a "flat HTML" file.

    Forgive my ignorance, but what is this?

    Can I write the document in Word, TextEdit, or Pages and then export to "flat HTML?

    It's just a text file, correct?

    Any help is appreciated.
  2. jared_kipe macrumors 68030


    Dec 8, 2003
    I assume they mean they want an html document with all CSS and/or Javascript embedded in the page itself.

    They could also mean they want only inline styles, i.e. no <style> tags in the document so that it is more compatible with HTML email.

    'Traditional' inline styles.
    <div style="float: left; width: 100px">
    <div style="float: right; width: 100px">
    CSS Style tags
    <style type="text/css">
        .left {float: left;}
        .right {float: right;}
        .onehundred {width: 100px;}
    <div class="left onehundred">
    <div class="right onehundred">
    What you get from the mentioned programs will probably vary.
  3. SrWebDeveloper macrumors 68000


    Dec 7, 2007
    Alexandria, VA, USA
    To OP:

    Just wanted to add to some clients it also might mean a web page "devoid of any formatting codes, line feeds or encoded or special control characters of any kind", which is a text file. ;)

    In some cases, clients mean they want an extensible format for easier universal import/export, i.e. XHTML and there are tools out there such as HTML Tidy which converts HTML to XML. "This conversion is useful for webmasters who are migrating to XML. It can also help XML converts who have to interface with legacy HTML tools." as noted in the web site where you can download HTML Tidy:


    This is intended to simply expand upon jared_kipe's excellent response, of course.

Share This Page