JS Base _ code block

Source: Internet
Author: User

1 <!DOCTYPE HTML>2 <HTML>3     <Head>4         <MetaCharSet= "UTF-8">5         <title></title>6         <Scripttype= "Text/javascript">7             8             /*9 * Our program is composed of a single statementTen * Statements are executed in a single line from the top-down order One              *      A * In JS, you can use {} to group statements. - * Statements in the same {} We call a set of statements, - * They are either executed, or not executed, the * A statement in {} We also call a block of code - * You don't have to write the code behind the Block . -              *  - * JS code block, only has the function of grouping, no other use + * The contents of the code block content, which is completely visible externally -              */ +              A             //------------------------------------------------------------------------------ at              -             { -                 vara= Ten;  - Alert ("Hello"); - Console.log ("Hello"); - document.write ("Statement"); in             } -              to             //The contents of the code block contents, which are completely visible externally + Console.log ("A ="+a); //Ten -          the              *              $             Panax Notoginseng         </Script> -     </Head> the     <Body> +     </Body> A </HTML>

JS Base _ code block

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.