Code Annotation writing specification in Web page making process

Source: Internet
Author: User

Summed up the work of their own use of the annotation writing specifications, there is no technical content, just for the unified way of production, easy maintenance. Contains four sections of area notes , single-line comments , annotation levels , and assistance notes .

Most students use the method of the area annotation, with the "comment content start" or "Comment content end", "Start" or "end", in contrast, can be used more quickly with "s" or "E", such as simply writing a start or ending comment, and then copying it, changing "s" or "E" You can quickly complete the annotation of the area.

Zone notes

In practice, there are times when the notes should be above or under the label, in order to avoid this situation, the annotation information is uniformly written before and after the start of the area label and begins with "S" or "E" to indicate the start or end of the area annotation.

Cases:

<!--=s annotation content-->
<div>
...
</div>
<!--=e annotation content-->

/*=s Annotation Content * *
. class{
...
}
. class{
...
}
/*=e Annotation Content * *

Single-line Comment

Note Information should be written in the area of content that needs to be commented

Cases:

<div>
<!--annotation content-->
...
</div>

. class{
/* Comment Content * *
...
}



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.