Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 68 - 2629_Devagiri_C-7
P. 68

    COMMENTS

                      HTML comments add explanations in code and are not shown on the web page. They start with

                      <!-- and end with -->.
                      The syntax for using comments in HTML is as follows:

                      <!-- REMARKS CAN BE ADDED HERE -->

                         Code
                           6      Write the HTML code to present the given web page using the <!-- --> tag.

                      <!DOCTYPE HTML>
                      <HTML>
                      <HEAD>
                      <TITLE>Comments</TITLE>
                      </HEAD>

                      <BODY>
                      <!-- This line will not be displayed on the web page. -->
                      HTML is not a Programming Language like Swift, Kotlin, C#, etc.
                      </BODY>
                      </HTML>

                                                                                                 21 st   #Information Literacy
                           EXPERIENTIAL LEARNING                                                Century   #Creativity
                                                                                                 Skills
                        Create a web page on "Animal Shelter" in HTML5 similar to the
                        one given below using the following instructions:

                        (a)  The title of the web page should be Animal Shelter.

                        (b)  Add the heading as Welcome to Our Animal Shelter!.
                        (c)   Write  paragraphs describing  the  animal  shelter, its
                             services and the animals available for adoption.

                      TECH
                         T      ¢   Syntax: Syntax refers to the rules that define the structure and arrangement of statements
                         E         in a programming language.
                        R
                        M           Case-sensitive: Case-sensitive means that uppercase and lowercase letters are treated as
                         S      ¢
                                   different and distinct.

                                ¢   Metadata: Metadata is data that provides information about other data, like the author or
                                   date of creation or description.

                       66
                            Premium Edition-VII

| 63 64 65 66 67 68 69 70 71 72 73 |