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,
Before we talked about the IQ chat software LAN chat test, today to everyone talk about bubble generation and coding, this is not a third-party thing, is theirDevelopment, need to integrate layout and container to achieve, in fact, when you see the source, it will feel very simple, do not believe you follow me down to seeFirst of all, the idea of my programming, we are in an activity to dynamically generate
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
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
Menu Applet v1.0
Internal Modular command-line menu applet V2.0
Implement command line menu applet with reusable list module V2.5
Implement command line menu applet with callback enhanced list module V2.8
Design the menu as a reusable subsystem
Summarize:Rome is not built in a day, the program is not a time to write well, but in a slow iteration to modify, this is probably my biggest harvest.Seven weeks of learning, basic and Menu applet goes down from a simple applet, in a
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
GF often said that I eat at home and the hearts of others.
Father is often the mother such "scold", this is my family's fate.
It used to be a person who developed, from ideas, to the final release to the web.
and are very small tool software, therefore, did not realize the importance of design.
Because like programming, in this aspect of the article to see more natural more, know a kind of saying is: Software
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
Html css coding specifications (Golden law) and css golden LawHTML syntax
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 quotation marks.
Do not add a slash to the end of the self-c
Recently, many students asked me about the coding of the webpage. What is the difference between gb2312 and UTF-8 encoding? Summary today. Recently, many students asked me about the coding of the webpage. What is the difference between gb2312 and UTF-8 encoding? Summary today: I don't know if we will encounter style definitions when making pages. Recently, many students asked me about webpage encoding. What
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
Zen coding is a Russian editor that supports most popular editors. It is easy to install. You only need to install the plug-in and copy the js file in the project. Plug-ins such as Webstorm6.0.2 are included. What is the abbreviation of html? Let's start with the following code on webstorm:
div.content
Then press the button to see the code we are familiar:
That is to say, div. content, this method is ac
Introduction of CSS and script
Ignore type tags in link script, CSS defaults to text/css JavaScript defaults to Text/javascript
Rel is used to specify the type of connection created (cannot be omitted)
Type is used to specify the document MIME type (need to correspond with rel otherwise, no connection is introduced)
Media Specifies the application environment for the document
Async and defer specify the timing of the document execution, async inst
Emmet (Zen Coding) HTML basic syntax, emmetcoding
1. nested operation ---------- suboperation:> div> ul> li
Parallel: + div + ul> li
Superior: ^ ul> li ^ div
Ul> li> a ^ div
Repeat: * ul> li * 3 groups: () div> (p> span) * 2
2. Attribute operation ---------- id and class div # header + div. main + div # footer
Attribute Value a [title = test target = _ self] Sequence Value: $ p. item $ * 3
P. item $ * 3
jquery's slideup function, or write your own setinterval function processing, but these are not better than using CSS. Using CSS, the initial state can move the box translate outside the screen, and then click on the time add a class, this class transform value of 0, and then use transition do animation is good. 10. Inline elements can be set directly margin-left/margin-rightHere are some people who set up span display:inline-block in order to keep span open:Span.phone-numer { display: inlin
displayed, such as the following syntax:
[Regular expression]
1.
However, the learning curve of regular expression is very high. If you want to use it to parse HTML and customize it, there is really no affinity for general developers.
Another characteristic of HTML is its hierarchy. Therefore, when interpreting it, the browser uses the document tree method and uses recursion) but regular expression does n
:The introduction of CSS and JavaScript files, the default type is TEXT/CSS and Text/javascript in HTML5. All can be omitted:Six, practical for the king, follow the HTML standard and semantics, code as small as possible and simple.VII, attribute order. Improve the reading of:1.class2.id, Name3.data-*4.SRC, For,type,href5.title alt6.aria-*,roleBecause class is used to identify a highly reusable component, so put first, ID specifically identifies the sp
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.