View Single Post
Old 02-03-2010, 11:36 PM   #9
Solitaire1
Samurai Lizard
Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.
 
Solitaire1's Avatar
 
Posts: 14,927
Karma: 69500000
Join Date: Nov 2009
Device: NookColor, Nook Glowlight 4
Quote:
Originally Posted by Solitaire1 View Post
You could try OpenOffice.org. You can edit the HTML document like any other word processing file, and you can also see the underlying code if you choose. Also, you can have it clean up the HTML code a bit by setting the HTML version. I have mine set to save HTML documents in HTML version 2.3, and when I edit the document it does a good job of cleaning up and simplifying the HTML code.
Quote:
Originally Posted by zelda_pinwheel View Post
hm, i didn't know you could edit and filter html code with open office. i use that for text documents but i had never thought of using it for code.
It's fairly easy. In an HTML document you can select "View" >> "HTML Source" and it will show you the underlying code. You are also able to edit it.

As far as cleaning the code, you can select different versions of HTML: HTML 3.2, Microsoft Internet Explorer, Netscape Navigator, and Writer. When you first view the HTML file, it leaves the code unchanged. But when you make a change to the document, it automatically cleans up the code to match the version of HTML you choose. To force it to clean up the code, I insert a space and then delete that space.
Solitaire1 is offline   Reply With Quote