Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 89 - logicode 2609 C6
P. 89

    Tick ( ) if you know this.

                              Tags are the building blocks of HTML used to create and structure content on the web.
                              An attribute provides additional information or properties for an HTML tag.

                               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     Write the HTML code to present the given web page using the <!-- --> tag.
                          6

                     <!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>

                            Hashtag

                          #Syntax: Syntax refers to the rules that define the structure and arrangement of statements in
                          a programming language.
                          #Case-sensitive: Case-sensitive means that uppercase and lowercase letters are treated as
                          different and distinct.
                          #Metadata: Metadata is data that provides information about other data, like the author or
                          date of creation or description.

                                                                                                HTML5–Getting Started  87

| 84 85 86 87 88 89 90 91 92 93 94 |