• Breaking News

    we will continue soon thanks
    ...

    Alert

    Why we need to specification in a script tag

    As I said earlier in notepad we write HTML
     and In HTML
    we write javascript and another scripting
     so we have to specify which scripting
    we are using






    In javascript we use




    <html>.....
    <script language="javascript"
    type="text/javascript"> 
    .....
    </html>

    Alert

    Want to threaten someone try these and share this






    In this post, we are going to discuss alert box comes when a notification comes in desktop version chrome.
    The alert() function.

    <html>.....
    <script type="text/javascript">
       alert("Your operator is in trouble !!!!!!!!! ");
    </script>
    .....</html>

    COMMENT

    We all know in all programming languages for our comfort we gave statement to content.
    there 2 type of comment.
    (1)// single line comment
    (2)/*.........*/ paragraph comment  or we can say multi-line commen

    The first type: Single line comment
    <html>...........
    <script>
                                        //this single line comment
    alert("hello");
    <script>
    ....<html>

    Note: Comment is not considered in the script they are just for our convenience.

    The second type is: Multi-line comment


    <html>.....
    <script>
    /* hello friend i m writing a multi line comment
    thanks for clicking the add */
       alert( please just click the add);
    </script>
    ....</html>

    CONCLUSION

    I conclude the topic. For further information about this topic comment below, please subscribe our blog through email by which you can get an email when I post a new post in this blog. follow us on Instagram twitter, facebook page. visit our pages in this blog for knowing me and my blog thank you  We will see you in the next one.

    No comments