Computer Science, asked by sanayakhan7407, 10 months ago

Write a program of HTML in notepad by using container and empty tag

Answers

Answered by Itzgaurav
0

Answer:

refer to the attachment

Attachments:
Answered by Anonymous
0

Container tags: These are the tags with open and closing tags. Also called paired tags.

Syntax: <tag> Content </tag>

Empty tags: These are the tags with only the opening tags. They do not go in pairs.

Syntax:  Content <tag> Content

A simple program using container as well as empty tags is:

<html>

<body>

<h1>This is an example of a container tag.</h1>

<p>This is an example <br> of a empty tag.</p>

</body>

</html>

Attachments:
Similar questions