In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how Dreamweaver cleans up redundant web code". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to clean up redundant web code in Dreamweaver".
We sometimes use word to make web pages directly for convenience, because we are more familiar with word and more convenient for typesetting, or we just want to make use of the pictures and text in word. But there is a lot of redundant code for web pages generated directly using word. We all know that programmers should try to implement complex functions with concise code, so let's take a look at how dw can help us reduce redundant code.
Dreamweaver CC download address
Steps / methods
1. First of all, we randomly open a word document and convert it into a htm web page file.
Click start, and then select Save as. You can see the save as dialog box. Select the save type as a single file web page.
3. Then we can see that a web page file is generated.
4. Open your dw and click Open.
5. We came to the dialog box that opened, and we selected the web page file we just generated
6. This is the open web page file.
7. We click on the code to bring the code format interface of the file.
At the end of the code, let's see that this file has 2411 lines of code. After cleaning up the redundant code, we'll see how many lines there are.
9. Select the command to clean up the html generated by word.
10. Select word 2000 and later. Check all the codes. The option here is not to delete all the code, but to organize the code, and the final clean-up effect is the same as the original file. So, you can safely check all the options.
11. After clicking OK, we see this feedback dialog box, telling us how much content has been deleted.
12. Then click OK, and let's see how many lines of code there are. Just now it was 2411 lines, now it is 1147 lines.
13. Let's click the Design button to see if the effect has changed. Well, it has the same effect as if it wasn't sorted out at first. Through our arrangement, the download speed of your website will be greatly improved.
Thank you for your reading, the above is the content of "how to clean up redundant web code in Dreamweaver". After the study of this article, I believe you have a deeper understanding of how Dreamweaver cleans up redundant web code, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.