Page 107 - CodePilot V5.0 C6
P. 107
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.
105
HTML5–Getting Started

