div tutorial for making HTML Tools

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

1. Drawing Tools

The effect of the picture is very important to a webpage, so there is no compact tool in Chettu, one is using PS (Photoshop), the other is FW (fireworks), in addition to these two kinds of tools ahuing not find a suitable tool, If any friend has a better cut can be recommended, the current ahuing use is the second type, from the efficiency of the proposed second;

FW Chettu is very simple, open an effect chart (must be a good picture of a whole piece, no layer, you need to cut which part of the press shortcut (M), and then use the mouse in the picture to select the part you want to cut, if you can not accurately locate the CTRL + mouse button scrolling, the picture enlarged, positioned well, And then CTRL + C copy background, and then CTRL + a new picture file, Ctrl + V paste, ctrl+shift+x export picture ok, it is so simple. This export method exports the smallest picture size, FW will remove some of the color value, of course, some friends will use FW slicing tools, this is also the smallest picture size, the reason why ahuing directly copy and paste is mainly to do the Image Wizard method, picture elves in the following a section will be introduced. FW Specific use here ahuing not introduced, interested friends in the online BD a

2. Editor

Editor's choice is much, the simplest one can be a notepad, in addition there are notepad++, UltraEdit, DW (Dreamweaver), Phpdesigner, but to improve the efficiency of writing or with DW or Phpdesigner, Both have code hints (other editors also have, the feeling is not intelligent, also not complete, the function is more powerful is DW, basically every friend who makes the webpage knows it, but DW CS5 is too big, for some configuration low computer is unbearable, if it is simply to do a static page, Ahuing suggest you use Phpdesigner, the latest version is 7.2.5, is a fine small editor, memory footprint only 20+m, code hints function is also very powerful, use this time you need to set up a few places, the first is to view-language-Chinese, the second is the tool-configuration-code completion, The time used to set the code hint to the minimum, the third is a custom, you can set some shortcut keys, those text color can also be configured to and DW, such a move from DW to Phpdesigner, the interface will not feel unaccustomed, ahuing configuration became Firebug color ^_^ I also like Phpdesigner another powerful feature is automatic completion, such as a list layout that is often used in the editor

        <ul class= "plist"
         <LI>
        <a href= "#" target= "_blank" ><img width= "" height= "" src= "Pic/s.png"/></A>
        <h4><a href= "#" target= "_blank" > title title </a></h4>
        </li>
        <li>
        <a href= "# "target=" _blank "><img width=" "height=" src= "Pic/s.png"/></A>
         <h4><a href= "#" target= "_blank" > title title </a></h4>
         </li>
        </ul>

I'll put this part of the code in the editor and replace it with "PL"; when you want to use this layout I only need to enter "PL" Two letters in the editor, then CTRL, the entire code appears, so that in peacetime write code will greatly improve the efficiency of writing, at present, my editor has saved dozens of kinds of layout, When you need to tune them out, the combination of the line, (in the DW also has this function, that is, code snippets)

3. Debugging Tools

In the exchange with some friends, some incredibly do not know that there is a call Firebug Dongdong, which is too silent, Web Debugging Tools of course choose FF (Firefox browser) plug-in Firebug, no this plugin can be in the ff-menu bar-Tools-Additional components-search Firebug, Then add to the Firefox restart FF can be used, press F12 can pull up the Firebug interface, when you can press the shortcut key ctrl+shift+c the left mouse button point to see the location of the code, FIREBUG panel will appear HTML code and corresponding CSS, HTML and CSS can be modified online and seen in real time, this can be a CSS adjusted (note that debugging is only the current, the source file is unchanged), and then modify the source file can be, very convenient, in addition to sometimes I also use IE (only ie8+ only) a self-contained tool, This tool is similar to Firebug, press F12 can be adjusted out, with it just look is ie down code

4. Testing tools and techniques

Next, the common Web testing tools

First of all, the browser, network development to now, there have been a variety of browsers, we do Web pages generally compatible with the mainstream browser on the line, the so-called mainstream browser mainly FF (Firefox), Chrome,iex,opera,

Safari, proud tour, Sogou and so on; Wow, so much! We all have to be compatible, too much? Yes, it's all compatible. There is no good way, the answer is yes. So many browsers actually have only a few kernels, Trident (IEX, Maxthon, the World, TT, Greenbrowser, Avantbrowser, 360), Gecko (FF Firefox), Webkit (Safari apple, Chrome Google, as well as the 360 speed version, proud Tour 3, QQ5, Presto (opera) Such a look will know how to do it we as long as compatible with IEX and FF basically OK.

Again the test tool IETester and Web Superpreview, two ahuing have been used, and finally chose the former, for many reasons, mainly the latter run too slow, does not support JS, sometimes need to test JS

Finally, a summary of the Web page preview and debugging to Ff+firebug, with IETester test, and finally with Chrome to take a look at it

5. Gadgets

Color Picker: Some people will ask PS,FW not have a straw, how to take color device, when you are crazy to write code, with PS,FW you do not find it too cumbersome, the statement is turned, directly recommend Nuktool (Na grams), it can be customized shortcut keys This is my favorite, you can also copy the color value to the Clipboard, Paste directly on the line, in addition to daily color picker, lustful ghosts, mini and so on.

Picture Compression Tool: If you are using FW export of the picture that this is not necessary, it is small enough, this tool is smush.it, Yahoo recommended an online compression tool URL is http://www.smushit.com/ysmush.it/, And it also made a firebug plug-in that can be found in the add-on component search YSlow

Code compression: When the code is complete, you can compress it, one is to reduce the size, the second is to protect the code; ahuing for you. CSS compression Http://www.xland.com.cn/css/geshihuacss.htm,js and HTML compression http ://tool.chinaz.com/tools/jsformat.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.