In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what are the web front-end variable naming rules". In the daily operation, I believe many people have doubts about the web front-end variable naming rules. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "what are the web front-end variable naming rules?" Next, please follow the editor to study!
Purpose of variable naming rules
In order to improve the efficiency of team cooperation, facilitate the backstage staff to add functions and optimize the maintenance of the front end, and output high-quality documents, this document is specially developed. Once this specification document is confirmed, the front-end developer must develop the foreground page according to the specification of this document. If there is anything wrong or inappropriate in this document, please submit it in time and change it after discussion and decision.
Basic guidelines for variable naming rules
In line with web standards, semantic html, structure performance behavior separation, excellent compatibility. In terms of page performance, the code should be concise and orderly, reduce the server load as much as possible, and ensure the fastest parsing speed.
Document specification
1. Html.cssrecoverjsimages files are all archived to the agreed directory.
2.html file naming: English naming, suffix. Htm. At the same time, put the corresponding interface manuscript in the same directory. If the interface manuscript is named in Chinese, please rename it with the same name as the html file, so that you can find the corresponding page when adding functions at the backend.
3.css file naming: English naming, suffix. Css. Share base.css, home page index.css, other pages are named according to the actual module requirements.
4.Js file naming: English naming, suffix. Js. Share common.js, others are named according to the actual module requirements.
Html Writing Standard
1. Document type declaration and encoding: unified as html5 declared type; unified as
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.