- Click below to download Unit 2 programs in pdf file: -
UNIT
2
<!--
1. Creating Metadata in webpage -->
<html>
<head>
<meta charset="utf-8">
<title>Metadata in webpage</title>
</head>
<body>
<p>This is my page</p>
</body>
</html>
<!--
2.Use <!DOCTYPE html> in web page -->
<!DOCTYPE
html>
<html>
<head>
<title><!DOCTYPE
html> in web page</title>
</head>
<body>
<p>It
is an "information" to the browser about what document type to
expect.</p>
</body>
</html>
<!--
3.Create web page with <blockquote> tag.-->
<html>
<head>
</head>
<body>
<blockquote>
For 50
years, WWF has been protecting the future of nature. The world's leading
conservation organization, WWF works in 100 countries and is supported by 1.2
million members in the United States and close to 5 million globally.
</blockquote>
</body>
</html>
<!--
4.Write HTML program to insert special characters And comment -->
<html>
<head>
</head>
<body>
<p>I
will display €</p><br>
<p>I
will display ®</p><br>
<p>I
will display ©</p><br>
<p>I
will display ™</p><br>
<p>I
will display ↑</p><br>
<p>I
will display ♥</p><br>
<p>I
will display ♣</p><br>
<p>I
will display ♠</p><br>
<!--
This is a comment -->
</body>
</html>
0 Comments