This article is a computer class of high-quality pre-sale recommendation >>>>C Safety Coding Standard: the development of safe, reliable, stable system of 98 rules (Original book 2nd edition)Partial catalogsTranslator SequencePrefaceContributors ' profile1th Preprocessor (PRE) 11.1 pre30-c. Do not create a universal character name from a connection 11.2 pre31-c. Avoid side effects of unsafe macro Parameters
I recently read a book "The mysteries of coding" and a book with more than 270 pages. It took me over a dozen hours to finish reading it, and I also bought one. I feel like I am a classic!
I found this book by accident. I found it when I searched other books on the e-commerce website. I found such a
Read this article and read the Web article carefully. The implementation of Zen coding fast Coding HTML/CSS Code
Copy Code code as follows:
E
Element name (Div, p);
E#id
Use the elements of the ID (div#content, P#intro, Span#error);
E.class
Use the elements of the class (Div.header, P.error.critial). You can also use class and idid:div#c
[Simple message book] is implemented using the newly added HTML database, and the message book is added
Database-implemented WEB message book
Var datatable = null;
Var db = openDatabase ('mydata', '', 'My database', 102400 );
Function init (){
Datatable = document. getElementById ("datatable ");
ShowAllData ();
}
Func
Internet using the ASCII character set.Because URLs often contain characters outside of the ASCII collection, URLs must be converted to valid ASCII formats.URL encoding uses the% followed by two-bit hexadecimal instead of non-ASCII characters.URLs cannot contain spaces, and URL encodings typically use "+" to replace spaces.Resources:http://www.oschina.net/translate/what-every-web-developer-must-know-about-url-encoding# ThereservedcharactersarenotwhatyouthinktheyareHttp://www.w3schools.com/
page, this is not a compatibility problem, will not load the current page, and will not errorThe second way is to write a 1px transparent pixel base64, as shown in the following codesrc= "data:image/gif;base64,r0lgodlhaqabaiaaaaaaap/// Yh5baeaaaaalaaaaaabaaeaaaibraa7 ">The second may be more compliant, but the first is simpler and there is no compatibility issue.16. About the effect of element spaces and line breaks in rowsSometimes a newline may introduce a space, as in the following code: for
address Zen coding for Dreamweaver v.0.7 test Pass
Is it a little confusing? Today, I'm going to introduce you to Zen coding, a set of tools for fast HTML and CSS encoding. Originally introduced by Vadim Makeev in April 2009 (the article in Russian), I developed a few months from my humble (i.e. I) and finally reached a more mature state. The Zen
First of all, how to add Zen coding plugins in Sublime Text2Press CTRL + ' (that is ~ this key) to copy the following code to confirm the restart sublime Text2Import urllib2,os;pf=' packagecontrol.sublime-package'ifelse None;o Pen (Os.path.join (IPP,PF),'wb'). Write (Urllib2.urlopen ('http:// sublime.wbond.net/'+pf.replace (','%20' ) )). Read ())Restart see as shown in successful installation on behalf of the package ControlThe next step is to tempora
Each company will be trained before the new recruits, one of the most important training is the unity of code style, which involves the entire project code readability, maintainability. A good programmer should also develop a good coding style and habits.Today, summarize the coding specifications in HTML.Document typeRecommended for the HTML5 document type declaration: It is also recommended to use
Emmet: Quick coding of HTML/CSS code, emmetcss
1. Introduction to Emmet
The predecessor of Emmet is Zen Coding, which uses the syntax of the CSS selector to generate code, greatly improving the speed of HTML/CSS code writing. It consists of two core components: an abbreviation extender (a CSS-like selector) is a contex
Mom no longer worries about my coding. Integration of Chinese encoding, windows, django, python, java, html, djangopythonUse django to write a small web application. This application calls a business-related jar package and displays the returned values of the jar package. In windows, the django framework is used to call the java jar package in python and output the content to
instead drop-down menu. (Radio or CheckBox instead of select menu)The 8.form button should have type types, using type= "Submit", type= "reset", or type= "button".9. The primary form button appears first (in the DOM), especially where multiple submit buttons apply. The order in which the views are displayed can be modified using CSS.10. Effective use of [HTML] View plaincopy on code to see a snippet derived from my Code sliceTableSummary= "This was a
Here I briefly talk about the coding problems that are often encountered in front-end HTML and JavaScript daily work.
In a computer, the information we store is expressed in binary code. We know, the on-screen display of English, Chinese characters and other symbols and stored binary code of the conversion, that is, coding.
There are two basic concepts to note,
Solution: Later in the bath when suddenly thought of a 3d element (DL, DT, DD), hurriedly use the fastest speed to wash the bath, come out an experiment, sure enough, success!Highlights of the small demo:Boldly used HTML5 's new tag, the code almost entirely follows the semantics of the HTML specification. Be able to clearly know where to use The difference between:The shortcomings of the small demo:There are some areas of the form that do not confor
[Bootstrap Basics] 04. The HTML and CSS coding specifications of Bootstrap, bootstrapcss
HTML
Use two spaces to replace tabs-this is the only way to ensure consistent display in all environments.
The nested element should be indented once (that is, two spaces)
For attribute definitions, make sure that all double quotation marks are used. Do not use single quo
Write a small web app with Django. A business-related jar package called in the application and displays the return value of the jar package. It is in the Windows environment, using the Django framework, the Python language to call the Java jar package, output content into, HTML. involves a bunch of coding problems.the process is not garbled, is garbled. Finally in the expert guidance under the fix. Hereby
The authoritative guide for HTML5 and CSS3 (2nd edition) has become a benchmark in the field of HTML 5 and CSS 3 books, dubbed "one of the best guide books on system learning HTML 5 and CSS 3" and "one of the Web front-end Engineers ' desk books". The 2nd edition first updated and supplemented the content from the technical point of view with the latest HTML 5 an
types, define page pre-selection (3) Name property: Defines the names of the (4) Value property: Defines the value of the 13, 14, (1) Cols Property: Text box visual width, property value: number.(2) Rows property: Number of visible rows in a text box, attribute value: number.15, (1) Border property: The width of the border around the table. Property value: Pixels value.(2) The Colspan property of the 16, (1) Target property: How to open a link. Attribute values: _blank, _parent, _self, _top, Fr
not at the expense of practicality. Use as little complexity and as few tags as possible to solve the problem at all times.Attribute OrderHTML attributes should appear in a specific order to ensure legibility.1. Class2. Id3. Name4, data-*5, SRC, for, type, href, value, Max-length, max, Min, pattern6, placeholder, title, alt7, aria-*, role8, required, ReadOnly, disabledClass is designed for highly reusable components, and in theory they should be in the first place. IDs are more specific and sho
①Document DeclarationFunction: In order for the browser to display HTML files better, you must inform the browser of your file as HTML syntax:
The declaration must be placed in the first line of the HTML document
Declaration is not an HTML tag
IiCoded LabelsIf you do not set the encoding type correctl
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.