This article mainly introduces the comment symbols in the HTML, the notation symbol and the annotation symbol instance parsing, next let's look at this article together
The first thing we need to know is what is the comment symbol in HTML?
The
Java provides three types of comments:
Single-line (c ++-style) CommentsThe simplest comment in Java is the single line comment. It starts with two forward slashes and continues to the end of the line. For example:Figure 1: single-line
Use python to design HTML-Based C language syntax to highlight the display program1st-school year semesterCompilation and translation principleCourse schedule reportClass 02 (II)Student ID 19Name: Liu XiaomingScoreInstructor Lu chaohuiI.
The common form of HTML annotations is -and IE5~IE9 these 5 versions of IE browser also support a special if condition comment (feel a bit like the syntax structure when template rendering) [if ie]> HTML statement -This way, when dealing with IE
I. Syntax for HTML annotationsSecond, the use of HTML annotations1, General Comments (enhance the readability of the code) Convenient for others: easy for other programmers to understand your codeConvenience: Easy to understand and revise your own
Crazy Java handout (version 3rd). (Li Gang) -- Comment
1. Necessity of annotation:1) You or others can easily understand the process and ideas of this code when restructuring the system.2) increase the readability of your code.3) When an error
HTML comment
Display a comment on the client.
JSP syntax
] -->
Example 1
Generate the same data as the above in the HTML source code of the client:
Example 2
-->
In the HTML source code of the client, it is displayed:
Description
This
Note:1: variables in the python program are passed in to html using the following method::
1: using global variables: global variables do not need to be passed using the $ def with syntax, as long as they are defined
It can be used in html, for
IE conditional comment how to playIf you have played with conditional annotations, you can omit the following introductory remarks.IE Conditional comment (Conditional comments) is the private code of IE browser, is a syntax comment block similar to
ajax|asp+| Refresh | no refresh
I do not know on the Chinaren alumni friends have not noticed, chinaren in many aspects after the revision of a large number of changes. For example, the message and reply is no longer like before, after each
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.