(Transfer) will be converted to HTML XHTML open source tools HTML Tidy

Related Tags:

  Author: Acha May 21, 2004 

  Basic information 

  •   Software Name: html Tidy 
  •   Developer Home: tidy.sourceforge.net 
  •   Software Size: 112 K 
  •   Installation environment: how platform version of this site to provide platform version of Microsoft Windows 95/98/Me/2000/xp 
  •   Version: July 1, 2003 issued by the windows platform version 

  Software Description 

  We are now most of the HTML Web site, if they wish to standardization, a revised manual of a very troublesome.    If there is a tool that will be automatically converted into the HTML standard XHTML good.    In fact, in this regard there are many commercial and free software tools can be used, will be here to introduce the HTML Tidy is a very basic but very useful tool, it can run on multiple platforms, and is open source. 

  Installation Guide 

  Step One: Download software; 

  Step 2: untie compression packages to any directory, folder can be seen, only a document tidy.exe; 

  Step 3: If you double-click a document no response and Yune, it is necessary instructions in the order window operation, it is necessary to review what the previous dos orders; 

  Step 4: "Start -> procedure -> Annex" run "command prompt" open a command window.    Enter your installation directory, for example, you install in d: \ tidy directory, enter c: \ <d: Enter; further importation d: \ <cd tidy round 

  Step 5: Enter conversion orders.    For example, to convert index.html 

  Tidy-asxhtml index.html-big5 index.html 

  In particular - is the meaning of asxhtml parameters will be converted into the HTML standard XHTML.    - Big5 refers to the big coding input and output text block (why not - gb2312 parameters? Hey, people do not attach importance to the standard, developers do not attach importance to you).    There are more parameters can be used, you can enter tidy-help (or - h) Show, as the following diagram: 

  Step 6: This index.html has been converted to meet the standards of XHTML text blocking. 

  Added 

  Acha test several text block, the conversion is not successful, tidy tool is not bad, but our code is too irregular.    Ask you to tidy block in the HTML text of the label, at least by allowing nested.    Tidy seem only two things do the following (and possibly more): 

  •   1. Will not add to the label at the end of the "/", for example, converted to <br> <br />, <img> converted to <img /> 
  •   2. Attribute value to all quote.    For example, <a href = http://www.w3cn.org> converted to <a href = "http://www.w3cn.org"> 
  Tidy have windows operating under visual version, etc. Acha look again introduced to everyone.    Tools only enhance our work efficiency, the key is that we should understand how they have to do. 


Related articles:

Div and span difference
  Div and span What does that mean?    XHTML relative with other labels, div and span for they contain elements is meaningless.    For example, when you see <h1> </ h1> label, you know it is heading, when you see <p> </ p> labels when you know that ...
How do corporate Web site search engine optimization
  Search engine optimization (SEO) is a very important basis for site promotion.    It is the principle of the site search engine automatically included in accordance with the rules of the site, and other related technical processing, in order to the site can be quickly and efficient...
Fw and Dw combinations: see examples of biopsy
  Weaving dreams Forum (http://www.it365cn.com/bbs/), a lot of people asked the question on the section, there are also many people write such a guide, which also have examples like this to explain this through, see After some think that if the text is hot for beginners will be the case in some...
Automation server can not create objects
  1, if it is Scripting.FileSystemObject (FSO read and write text files) was closed, open FSO menu in the "run" can be implemented in regsvr32 scrrun.dll    2, is due to msxml 3 services are shut down, and can use regsvr32 msxml3.dll    Depressed for a long time...
Collection of basic knowledge of the domestic domain names
  Collection of basic knowledge of the domestic domain names (1)    1, what is the domestic domain, regulatory bodies, where is?    Refers to the domestic domain. Cn for the end of the domain name; management are: China Internet Network Information Center (CNNIC).  ...